Set the WMClass of the quit dialog to be different from the default one in

* main.c (quit_box_new): Set the WMClass of the quit dialog to be
different from the default one in an attempt to fix #13441.

svn path=/trunk/; revision=14076
This commit is contained in:
Ettore Perazzoli
2001-10-24 23:39:41 +00:00
parent 51058a71f7
commit 7a2d1a768b
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-10-24 Ettore Perazzoli <ettore@ximian.com>
* main.c (quit_box_new): Set the WMClass of the quit dialog to be
different from the default one in an attempt to fix #13441.
2001-10-24 Ettore Perazzoli <ettore@ximian.com>
* e-local-storage.c (storage_result_from_component_result): New.

View File

@ -75,6 +75,10 @@ quit_box_new (void)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
/* (Just to prevent smart-ass window managers like Sawfish from setting
the make the dialog as big as the standard Evolution window). */
gtk_window_set_wmclass (GTK_WINDOW (window), "evolution-quit", "Evolution:quit");
e_make_widget_backing_stored (window);
gtk_window_set_title (GTK_WINDOW (window), _("Evolution"));