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/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shell/main.c') 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