summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@src.gnome.org>2002-08-01 15:14:14 +0000
committerChristophe Fergeau <cfergeau@src.gnome.org>2002-08-01 15:14:14 +0000
commit9e868129286ee005be6525a5c4a4aa4e3472331a (patch)
treeaaba2c3e238063073bea5c51be06dd87155d9dd5 /src
parent43dd20887400b86706cd28c72468c87cfa992432 (diff)
downloadmetacity-9e868129286ee005be6525a5c4a4aa4e3472331a.tar.gz
metacity-9e868129286ee005be6525a5c4a4aa4e3472331a.tar.bz2
if a window isn't resizeable, turn off maximize function. If min size is
* src/window.c (recalc_window_features): if a window isn't resizeable, turn off maximize function. If min size is equal to max size, turn off resize function.
Diffstat (limited to 'src')
-rw-r--r--src/metacity-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/metacity-dialog.c b/src/metacity-dialog.c
index 449b850..4334a56 100644
--- a/src/metacity-dialog.c
+++ b/src/metacity-dialog.c
@@ -227,7 +227,8 @@ warn_about_no_sm_support (char **lame_apps)
"response",
G_CALLBACK (gtk_main_quit),
NULL);
-
+
+ gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_CLOSE);
list = create_lame_apps_list (lame_apps);
sw = gtk_scrolled_window_new (NULL, NULL);