2005-07-17 [colin] 1.9.12cvs74
authorColin Leroy <colin@colino.net>
Sun, 17 Jul 2005 11:23:43 +0000 (11:23 +0000)
committerColin Leroy <colin@colino.net>
Sun, 17 Jul 2005 11:23:43 +0000 (11:23 +0000)
* src/alertpanel.c
Change geometry hints to a simple default size.
Fixes the certs dialogs.

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/alertpanel.c

index c5eb71e79fd2e46f21d57332be900791100e83b0..873dfaee28f593e16b5d2d0985ce8f190f4ba401 100644 (file)
@@ -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
index dbafa93d645f6198aa3aa445fad43e63c4d5fc86..f4a57066260f9e30d50a9987ce5cfa357015b526 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index 0a640aad6d11f4b0a9acc3c8ae74f6f88fc0b944..d6338dbf33616e0f1819dc05db20acaa62df7b78 100644 (file)
@@ -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=
 
index 30a6dd1ea69f1c7c69d21fa4ce01342ab0d35746..1dfea5501fbf691adf2c6e3d4715b5440731ad0e 100644 (file)
@@ -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("<span weight=\"bold\" "
                                "size=\"larger\">%s</span>",
@@ -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);