From 77a1e8ec8b5cbdc65173142bf3fb205a3316d67d Mon Sep 17 00:00:00 2001 From: Rob Adams Date: Mon, 3 May 2004 02:03:59 +0000 Subject: [PATCH] make the no sm support warning dialog resizable, since the default GTK 2004-05-02 Rob Adams * src/metacity-dialog.c (warn_about_no_sm_support): make the no sm support warning dialog resizable, since the default GTK warning dialog not has default not resizable. Fix for #141672 from Olivier Crete. --- ChangeLog | 7 +++++++ src/metacity-dialog.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index b70fe8862..1cd82bb20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-05-02 Rob Adams + + * src/metacity-dialog.c (warn_about_no_sm_support): make the no sm + support warning dialog resizable, since the default GTK warning + dialog not has default not resizable. Fix for #141672 from + Olivier Crete. + 2004-04-29 Rob Adams * src/prefs.c (change_notify): Add a value type check for the diff --git a/src/metacity-dialog.c b/src/metacity-dialog.c index bb383bc6d..73ab2386c 100644 --- a/src/metacity-dialog.c +++ b/src/metacity-dialog.c @@ -255,6 +255,8 @@ warn_about_no_sm_support (char **lame_apps) gtk_window_set_geometry_hints (GTK_WINDOW (dialog), sw, NULL, 0); + gtk_window_set_resizable (GTK_WINDOW(dialog), TRUE); + /* applies to geometry widget; try to avoid scrollbars, * but don't make the window huge */