aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-24 06:04:31 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-24 06:04:31 +0800
commit5a4fa3a053937f5515610648e60681d9bb5f43d9 (patch)
treeef166f224ddad5e60cb6c4bd269519590403653e
parenta70ed5cf833b20fb1c2e8cfd67223b6bc4234c18 (diff)
downloadgsoc2013-evolution-5a4fa3a053937f5515610648e60681d9bb5f43d9.tar.gz
gsoc2013-evolution-5a4fa3a053937f5515610648e60681d9bb5f43d9.tar.zst
gsoc2013-evolution-5a4fa3a053937f5515610648e60681d9bb5f43d9.zip
Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534.
* main.c (quit_box_new): Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534. svn path=/trunk/; revision=16995
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/main.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index c1860256f7..ff6159fec6 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2002-05-23 Ettore Perazzoli <ettore@ximian.com>
+ * main.c (quit_box_new): Set @allow_shrink and @allow_grow to
+ FALSE for the window. Fixes #17534.
+
+2002-05-23 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Pass FALSE for
@allow_shrink. Fixes #15688.
diff --git a/shell/main.c b/shell/main.c
index b9deb26194..7e824ba990 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -79,6 +79,7 @@ quit_box_new (void)
GtkWidget *frame;
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, FALSE);
gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
/* (Just to prevent smart-ass window managers like Sawfish from setting