diff options
author | Ernestas Kulik <ernestask@gnome.org> | 2018-05-21 13:41:49 +0300 |
---|---|---|
committer | Ernestas Kulik <ernestask@gnome.org> | 2018-05-28 13:13:56 +0300 |
commit | a781e5aee32cf9fa20c27b30e54b920f931d60a3 (patch) | |
tree | f6bf7dbfd1538ac268563054f52f15b82f3986cf | |
parent | 2507db5aba7cd30882dad727efe5bb291b5444c3 (diff) | |
download | nautilus-a781e5aee32cf9fa20c27b30e54b920f931d60a3.tar.gz |
general: Stop setting WM class
According to GTK+ docs, this should be the same for all windows of an
application, and GTK+ defaults to doing that itself. However, there is a
slight issue in that the properties window sets a custom window icon
that isn’t reset instantaneously after closing the dialog.
-rw-r--r-- | src/nautilus-file-operations.c | 2 | ||||
-rw-r--r-- | src/nautilus-properties-window.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/nautilus-file-operations.c b/src/nautilus-file-operations.c index 2147b772b..b94b7c995 100644 --- a/src/nautilus-file-operations.c +++ b/src/nautilus-file-operations.c @@ -2793,8 +2793,6 @@ prompt_empty_trash (GtkWindow *parent_window) gtk_window_set_screen (GTK_WINDOW (dialog), screen); } atk_object_set_role (gtk_widget_get_accessible (dialog), ATK_ROLE_ALERT); - gtk_window_set_wmclass (GTK_WINDOW (dialog), "empty_trash", - "Nautilus"); /* Make transient for the window group */ gtk_widget_realize (dialog); diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c index 319196eca..9543d4105 100644 --- a/src/nautilus-properties-window.c +++ b/src/nautilus-properties-window.c @@ -5043,8 +5043,6 @@ create_properties_window (StartupData *startup_data) window->target_files = nautilus_file_list_copy (startup_data->target_files); - gtk_window_set_wmclass (GTK_WINDOW (window), "file_properties", "Nautilus"); - if (startup_data->parent_widget) { gtk_window_set_screen (GTK_WINDOW (window), |