aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-25 07:39:41 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-25 07:39:41 +0800
commit7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a (patch)
tree684556fed6436bb880602bb03f29d3933d3bc839 /shell
parent51058a71f7f67e86bee98fe0c29f27a0636ec633 (diff)
downloadgsoc2013-evolution-7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a.tar.gz
gsoc2013-evolution-7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a.tar.zst
gsoc2013-evolution-7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a.zip
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
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/main.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index bce22b9a87..facae34a08 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
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.
(async_xfer_folder_callback): Use it so we get the right error
message.
diff --git a/shell/main.c b/shell/main.c
index f1b70bf271..75b5f1490b 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -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"));