From 9e868129286ee005be6525a5c4a4aa4e3472331a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 1 Aug 2002 15:14:14 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ src/metacity-dialog.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3f5ea722b..811bbddac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-08-01 Christophe Fergeau + + * src/metacity-dialog.c: focus the "Close" button by default on + the dialog which appears at exit when some apps can't be session + managed + 2002-08-01 Mark McLoughlin * src/session.c: diff --git a/src/metacity-dialog.c b/src/metacity-dialog.c index 449b850dd..4334a5620 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);