From 7a2d1a768b010b6c1c62c9e7ebdcf2aad563700a Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 24 Oct 2001 23:39:41 +0000 Subject: 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 --- shell/ChangeLog | 5 +++++ shell/main.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/shell/ChangeLog b/shell/ChangeLog index bce22b9a87..facae34a08 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-10-24 Ettore Perazzoli + + * 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 * e-local-storage.c (storage_result_from_component_result): New. 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")); -- cgit v1.2.3