From: Colin Leroy Date: Sun, 17 Jul 2005 11:23:43 +0000 (+0000) Subject: 2005-07-17 [colin] 1.9.12cvs74 X-Git-Tag: rel_1_9_13~19 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=81bbc3bf44623d1d78b98c32f7ed2bd0dd569920 2005-07-17 [colin] 1.9.12cvs74 * src/alertpanel.c Change geometry hints to a simple default size. Fixes the certs dialogs. --- diff --git a/ChangeLog-gtk2.claws b/ChangeLog-gtk2.claws index c5eb71e79..873dfaee2 100644 --- a/ChangeLog-gtk2.claws +++ b/ChangeLog-gtk2.claws @@ -1,3 +1,9 @@ +2005-07-17 [colin] 1.9.12cvs74 + + * src/alertpanel.c + Change geometry hints to a simple default size. + Fixes the certs dialogs. + 2005-07-17 [colin] 1.9.12cvs73 * src/gtk/sslcertwindow.c diff --git a/PATCHSETS b/PATCHSETS index dbafa93d6..f4a570662 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -668,3 +668,4 @@ ( cvs diff -u -r 1.654.2.705 -r 1.654.2.706 configure.ac; ) > 1.9.12cvs71.patchset ( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/plugins/pgpcore/Makefile.am; cvs diff -u -r 1.1.2.3 -r 1.1.2.4 src/plugins/pgpmime/Makefile.am; ) > 1.9.12cvs72.patchset ( cvs diff -u -r 1.9.2.3 -r 1.9.2.4 src/gtk/sslcertwindow.c; ) > 1.9.12cvs73.patchset +( cvs diff -u -r 1.17.2.16 -r 1.17.2.17 src/alertpanel.c; ) > 1.9.12cvs74.patchset diff --git a/configure.ac b/configure.ac index 0a640aad6..d6338dbf3 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=12 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=73 +EXTRA_VERSION=74 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/alertpanel.c b/src/alertpanel.c index 30a6dd1ea..1dfea5501 100644 --- a/src/alertpanel.c +++ b/src/alertpanel.c @@ -247,7 +247,6 @@ static void alertpanel_create(const gchar *title, GtkWidget *icon; const gchar *label2; const gchar *label3; - GdkGeometry geometry; gchar *title_full = g_strdup_printf("%s", @@ -262,13 +261,9 @@ static void alertpanel_create(const gchar *title, dialog = gtk_dialog_new(); gtk_window_set_title(GTK_WINDOW(dialog), title); - gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); - - geometry.min_width = 300; - geometry.min_height = 100; - - gtk_window_set_geometry_hints(GTK_WINDOW(dialog), NULL, &geometry, - GDK_HINT_MIN_SIZE); + gtk_window_set_resizable(GTK_WINDOW(dialog), TRUE); + + gtk_window_set_default_size(GTK_WINDOW(dialog), 300, 100); gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);