mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
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.
This commit is contained in:
parent
2507db5aba
commit
a781e5aee3
|
@ -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);
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue