diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-25 07:39:41 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-25 07:39:41 +0800 |
commit | 7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a (patch) | |
tree | 684556fed6436bb880602bb03f29d3933d3bc839 /shell/main.c | |
parent | 51058a71f7f67e86bee98fe0c29f27a0636ec633 (diff) | |
download | gsoc2013-evolution-7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a.tar gsoc2013-evolution-7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a.tar.gz gsoc2013-evolution-7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a.tar.bz2 gsoc2013-evolution-7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a.tar.lz gsoc2013-evolution-7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a.tar.xz 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/main.c')
-rw-r--r-- | shell/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
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")); |