replace deprecated gtk_window_set_policy
authorPaul Mangan <paul@claws-mail.org>
Wed, 28 Jul 2004 07:51:10 +0000 (07:51 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 28 Jul 2004 07:51:10 +0000 (07:51 +0000)
27 files changed:
ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/gtk/colorsel.c
src/gtk/description_window.c
src/gtk/gtkaspell.c
src/gtk/inputdialog.c
src/gtk/logwindow.c
src/gtk/prefswindow.c
src/gtk/progressdialog.c
src/message_search.c
src/messageview.c
src/passphrase.c
src/prefs_actions.c
src/prefs_common.c
src/prefs_customheader.c
src/prefs_display_header.c
src/prefs_filtering.c
src/prefs_filtering_action.c
src/prefs_gtk.c
src/prefs_matcher.c
src/prefs_msg_colors.c
src/prefs_summary_column.c
src/prefs_template.c
src/sourcewindow.c
src/ssl_manager.c
src/summary_search.c

index 959d81b797124f0d086586e74b58ae56d5544ffd..5b189c3b44446ef6f00d397cecef1899bec55d4d 100644 (file)
@@ -1,3 +1,41 @@
+2004-07-28 [paul]      0.9.12cvs37.2
+
+       * src/addr_compl.c
+       * src/addressbook.c
+       * src/alertpanel.c
+       * src/compose.c
+       * src/export.c
+       * src/foldersel.c
+       * src/folderview.c
+       * src/grouplistdialog.c
+       * src/import.c
+       * src/mainwindow.c
+       * src/message_search.c
+       * src/messageview.c
+       * src/passphrase.c
+       * src/prefs_actions.c
+       * src/prefs_common.c
+       * src/prefs_customheader.c
+       * src/prefs_display_header.c
+       * src/prefs_filtering.c
+       * src/prefs_filtering_action.c
+       * src/prefs_gtk.c
+       * src/prefs_matcher.c
+       * src/prefs_msg_colors.c
+       * src/prefs_summary_column.c
+       * src/prefs_template.c
+       * src/sourcewindow.c
+       * src/ssl_manager.c
+       * src/summary_search.c
+       * src/gtk/colorsel.c
+       * src/gtk/description_window.c
+       * src/gtk/gtkaspell.c
+       * src/gtk/inputdialog.c
+       * src/gtk/logwindow.c
+       * src/gtk/prefswindow.c
+       * src/gtk/progressdialog.c
+               replace deprecated gtk_window_set_policy
+
 2004-07-27 [colin]     0.9.12cvs37.1
 
        * src/msgcache.c
index 8f56ff3c4d2a86c15325fcfb22ec553cb8940633..d6773dcdfabc562829cb9cc9470b5d6fc18dc817 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
@@ -84,3 +84,4 @@
 ( cvs diff -u -r 1.17.2.4 -r 1.17.2.5 src/alertpanel.c; cvs diff -u -r 1.5 -r 1.6 src/alertpanel.h; cvs diff -u -r 1.3.12.2 -r 1.3.12.3 src/message_search.c; cvs diff -u -r 1.83.2.13 -r 1.83.2.14 src/mimeview.c; cvs diff -u -r 1.12.2.3 -r 1.12.2.4 src/sgpgme.c; cvs diff -u -r 1.15.2.4 -r 1.15.2.5 src/summary_search.c; ) > 0.9.12cvs35.2.patchset
 ( cvs diff -u -r 1.16.2.6 -r 1.16.2.7 src/msgcache.c; ) > 0.9.12cvs35.3.patchset
 ( cvs diff -u -r 1.16.2.7 -r 1.16.2.8 src/msgcache.c; ) > 0.9.12cvs37.1.patchset
+( cvs diff -u -r 1.27.2.6 -r 1.27.2.7 src/addr_compl.c; cvs diff -u -r 1.60.2.5 -r 1.60.2.6 src/addressbook.c; cvs diff -u -r 1.17.2.5 -r 1.17.2.6 src/alertpanel.c; cvs diff -u -r 1.382.2.35 -r 1.382.2.36 src/compose.c; cvs diff -u -r 1.8.2.2 -r 1.8.2.3 src/export.c; cvs diff -u -r 1.26.2.2 -r 1.26.2.3 src/foldersel.c; cvs diff -u -r 1.207.2.10 -r 1.207.2.11 src/folderview.c; cvs diff -u -r 1.14.2.4 -r 1.14.2.5 src/grouplistdialog.c; cvs diff -u -r 1.13.2.3 -r 1.13.2.4 src/import.c; cvs diff -u -r 1.274.2.13 -r 1.274.2.14 src/mainwindow.c; cvs diff -u -r 1.3.12.3 -r 1.3.12.4 src/message_search.c; cvs diff -u -r 1.94.2.23 -r 1.94.2.24 src/messageview.c; cvs diff -u -r 1.12.2.3 -r 1.12.2.4 src/passphrase.c; cvs diff -u -r 1.60.2.4 -r 1.60.2.5 src/prefs_actions.c; cvs diff -u -r 1.204.2.17 -r 1.204.2.18 src/prefs_common.c; cvs diff -u -r 1.16.2.2 -r 1.16.2.3 src/prefs_customheader.c; cvs diff -u -r 1.16.2.3 -r 1.16.2.4 src/prefs_display_header.c; cvs diff -u -r 1.59.2.6 -r 1.59.2.7 src/prefs_filtering.c; cvs diff -u -r 1.1.4.5 -r 1.1.4.6 src/prefs_filtering_action.c; cvs diff -u -r 1.10.2.4 -r 1.10.2.5 src/prefs_gtk.c; cvs diff -u -r 1.43.2.6 -r 1.43.2.7 src/prefs_matcher.c; cvs diff -u -r 1.1.2.2 -r 1.1.2.3 src/prefs_msg_colors.c; cvs diff -u -r 1.10.2.1 -r 1.10.2.2 src/prefs_summary_column.c; cvs diff -u -r 1.12.2.2 -r 1.12.2.3 src/prefs_template.c; cvs diff -u -r 1.9.2.4 -r 1.9.2.5 src/sourcewindow.c; cvs diff -u -r 1.3.2.2 -r 1.3.2.3 src/ssl_manager.c; cvs diff -u -r 1.15.2.5 -r 1.15.2.6 src/summary_search.c; cvs diff -u -r 1.1.4.3 -r 1.1.4.4 src/gtk/colorsel.c; cvs diff -u -r 1.5.2.4 -r 1.5.2.5 src/gtk/description_window.c; cvs diff -u -r 1.9.2.7 -r 1.9.2.8 src/gtk/gtkaspell.c; cvs diff -u -r 1.2.2.1 -r 1.2.2.2 src/gtk/inputdialog.c; cvs diff -u -r 1.1.4.2 -r 1.1.4.3 src/gtk/logwindow.c; cvs diff -u -r 1.12.2.2 -r 1.12.2.3 src/gtk/prefswindow.c; cvs diff -u -r 1.1.4.2 -r 1.1.4.3 src/gtk/progressdialog.c; ) > 0.9.12cvs37.2.patchset
index 1a02b44cc603745576a1301e317abe3c42f38dbf..5c167a312a85b5d4c6c036546d03f6eb9084c81a 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=37
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.1
+EXTRA_GTK2_VERSION=.2
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
index 6d8c56a6cd5159a987851ce3b581752ccf046896..2896f97014095bf62776c83543f8cd529a296ff8 100644 (file)
@@ -50,7 +50,7 @@ gint colorsel_select_color_rgb(gchar *title, gint rgbvalue)
 
        color_dialog = GTK_COLOR_SELECTION_DIALOG(gtk_color_selection_dialog_new(title));
        gtk_window_set_modal(GTK_WINDOW(color_dialog), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(color_dialog), FALSE, FALSE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(color_dialog), FALSE);
        manage_window_set_transient(GTK_WINDOW(color_dialog));
 
        g_signal_connect(G_OBJECT(GTK_COLOR_SELECTION_DIALOG(color_dialog)->ok_button),
index 7f7fdc787218f891ea36ffae0764991b2766ec32..b81396dd8efb4c2d062e85d83e92975f5c7e0012 100644 (file)
@@ -65,7 +65,7 @@ static void description_create(DescriptionWindow * dwindow)
                             gettext(dwindow->title));
        gtk_container_set_border_width(GTK_CONTAINER(dwindow->window), 8);
        gtk_window_set_modal(GTK_WINDOW(dwindow->window), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(dwindow->window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(dwindow->window), TRUE);
 
        /* Check number of lines to be show */
        sz = 0;
index 7886506f96fac13d54288e9c2ef1b506ff87f10c..67e55ef0758b1908f56052863e1ed59f09071704 100644 (file)
@@ -1426,7 +1426,7 @@ static void replace_with_create_dialog_cb(GtkWidget *w, gpointer data)
 
        dialog = gtk_dialog_new();
 
-       gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
        gtk_window_set_title(GTK_WINDOW(dialog),_("Replace unknown word"));
        gtk_widget_set_uposition(dialog, xx, yy);
 
@@ -2424,7 +2424,7 @@ static void gtkaspell_alert_dialog(gchar *message)
        GtkWidget *ok_button;
 
        dialog = gtk_dialog_new();
-       gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
        gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_MOUSE);
        g_signal_connect_swapped(G_OBJECT(dialog), "destroy",
                                 G_CALLBACK(gtk_widget_destroy), 
index 2eb11f9099bf3e7130d2366d1e9edb924339a22e..8de62eed48c21d2c0eda969797575482f76d90dc 100644 (file)
@@ -165,7 +165,7 @@ static void input_dialog_create(void)
        GtkWidget *cancel_button;
 
        dialog = gtk_dialog_new();
-       gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
        gtk_widget_set_size_request(dialog, INPUT_DIALOG_WIDTH, -1);
        gtk_container_set_border_width
                (GTK_CONTAINER(GTK_DIALOG(dialog)->action_area), 5);
index 69f9dff32fd049bbf724b03cf7f5aee7dad077f9..277f810d02d165fbd4bc447e065b4009dc35416e 100644 (file)
@@ -62,7 +62,7 @@ LogWindow *log_window_create(void)
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(window), _("Protocol log"));
        gtk_window_set_wmclass(GTK_WINDOW(window), "log_window", "Sylpheed");
-       gtk_window_set_policy(GTK_WINDOW(window), TRUE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_widget_set_size_request(window, 520, 400);
        g_signal_connect(G_OBJECT(window), "delete_event",
                         G_CALLBACK(gtk_widget_hide_on_delete), NULL);
index 210ee21e77b4c6e08b31e9d6bd70eaac00b222ca..885b317d17d7c0b8b960b0db3efb7c1aea93d452 100644 (file)
@@ -223,7 +223,7 @@ void prefswindow_open(const gchar *title, GSList *prefs_pages, gpointer data)
        gtk_window_set_default_size(GTK_WINDOW(prefswindow->window), 600, 340);
        gtk_window_position (GTK_WINDOW(prefswindow->window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (prefswindow->window), TRUE);
-       gtk_window_set_policy (GTK_WINDOW(prefswindow->window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable (GTK_WINDOW(prefswindow->window), TRUE);
        gtk_container_set_border_width(GTK_CONTAINER(prefswindow->window), 4);
 
        prefswindow->table1 = gtk_table_new(2, 2, FALSE);
index e7b4a0799b014d58e4ec957fdc1daf3843feaa75..422c82f8cfdf12a0d16c33c55b0163bba68bb0a6 100644 (file)
@@ -58,7 +58,7 @@ ProgressDialog *progress_dialog_create(void)
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_widget_set_usize(window, 460, -1);
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
-       gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, TRUE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_widget_realize(window);
 
        vbox = gtk_vbox_new(FALSE, 8);
index c25ebca6f1f1a57e1d05b8f70b6b9072f9dcd3dc..4e95defb418f00b53b9ba910ff95f0336144c86f 100644 (file)
@@ -87,7 +87,7 @@ static void message_search_create(MessageView *messageview)
        gtk_window_set_title (GTK_WINDOW (window),
                              _("Find in current message"));
        gtk_widget_set_size_request (window, 450, -1);
-       gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, TRUE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
        g_signal_connect(G_OBJECT(window), "delete_event",
                         G_CALLBACK(gtk_widget_hide_on_delete), NULL);
index 4f6071c8fcb96e219e778ccf0ef2487a147e65ad..05d025d9937d1c24cc70d2a1503ef7828e817561 100644 (file)
@@ -412,7 +412,7 @@ MessageView *messageview_create_with_new_window(MainWindow *mainwin)
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(window), _("Sylpheed - Message View"));
        gtk_window_set_wmclass(GTK_WINDOW(window), "message_view", "Sylpheed");
-       gtk_window_set_policy(GTK_WINDOW(window), TRUE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_widget_set_size_request(window, prefs_common.msgwin_width,
                                    prefs_common.msgwin_height);
 
index a71a54c194353511d31c5495c9c51b5d3eb6aed4..b3dadcb92e5a2e48c0b338a982197319cdb32948 100644 (file)
@@ -90,7 +90,7 @@ passphrase_mbox (const gchar *desc)
     gtk_container_set_border_width(GTK_CONTAINER(window), 4);
     gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
     gtk_window_set_modal(GTK_WINDOW(window), TRUE);
-    gtk_window_set_policy(GTK_WINDOW(window), FALSE, FALSE, FALSE);
+    gtk_window_set_resizable(GTK_WINDOW(window), FALSE);
     g_signal_connect(G_OBJECT(window), "delete_event",
                     G_CALLBACK(passphrase_deleted), NULL);
     g_signal_connect(G_OBJECT(window), "key_press_event",
@@ -152,7 +152,7 @@ passphrase_mbox (const gchar *desc)
         g_object_set (G_OBJECT(window), "type", GTK_WINDOW_POPUP, NULL);
     gtk_window_set_position (GTK_WINDOW(window), GTK_WIN_POS_CENTER);
     if (grab_all)   
-        gtk_window_set_policy (GTK_WINDOW(window), FALSE, FALSE, TRUE);
+        gtk_window_set_resizable(GTK_WINDOW(window), FALSE);
     
     gtk_widget_show_all(window);
 
index 853c9a36afb62a628c3bda78f17698bc7a7d39db..8e4a501be2b14690a6e881ade6c4a5633580ff70 100644 (file)
@@ -151,7 +151,7 @@ static void prefs_actions_create(MainWindow *mainwin)
        gtk_container_set_border_width(GTK_CONTAINER (window), 8);
        gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, TRUE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_window_set_default_size(GTK_WINDOW(window), 400, -1);
 
        vbox = gtk_vbox_new(FALSE, 6);
index 396e9406b4de4929112a7f9b3791a5244378b37c..a58e826049b7f725daacdb032f885dc13c835125 100644 (file)
@@ -2593,7 +2593,7 @@ static void prefs_keybind_select(void)
        gtk_window_set_title (GTK_WINDOW (window), _("Key bindings"));
        gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (window), TRUE);
-       gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW (window), FALSE);
        manage_window_set_transient (GTK_WINDOW (window));
 
        vbox1 = gtk_vbox_new (FALSE, VSPACING);
index 149821b0bfc86c3e3d685f28f841804aa1c06cd1..7f409c60b0036c6435bd6bc0b717ce42575c9ae7 100644 (file)
@@ -148,7 +148,7 @@ static void prefs_custom_header_create(void)
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
        gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (window), TRUE);
-       gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
 
        vbox = gtk_vbox_new (FALSE, 6);
        gtk_widget_show (vbox);
index fe02a332e851a3b271ecadb9d0153303faba363f..445e48ea8d0ed6c0e55d01f7ca31e696fd7252d5 100644 (file)
@@ -181,7 +181,7 @@ static void prefs_display_header_create(void)
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
        gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (window), TRUE);
-       gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
 
        vbox = gtk_vbox_new (FALSE, 6);
        gtk_widget_show (vbox);
index 391f65e2fa9d3a735d90b88dbfd6beffb27032fe..159a0a3fdd341e9f5c6f02069118f3455fc5a704 100644 (file)
@@ -190,7 +190,7 @@ static void prefs_filtering_create(void)
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
        gtk_window_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (window), TRUE);
-       gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
 
        vbox = gtk_vbox_new (FALSE, 6);
        gtk_widget_show (vbox);
index df847174baaf0d7172f2c16854ac5e43215849b7..b8e784457f2176d808c236f45dcab199b37b1d1a 100644 (file)
@@ -269,7 +269,7 @@ static void prefs_filtering_action_create(void)
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
        gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
 
        vbox = gtk_vbox_new(FALSE, 6);
        gtk_widget_show(vbox);
index 3486c2a17b9aa0ef98b3a1ff668b9df86ad4c821..db55d1f1326585f58f02e8d289305c1f62f5c905 100644 (file)
@@ -470,7 +470,7 @@ void prefs_dialog_create(PrefsDialog *dialog)
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
        gtk_window_position (GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (window), TRUE);
-       gtk_window_set_policy (GTK_WINDOW(window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
 
        vbox = gtk_vbox_new (FALSE, 6);
        gtk_widget_show(vbox);
index 225bd27b300bc800b0d25196292bdcbb78c2c4f6..ef20092413dfcafca57d35148acf14aa450df95c 100644 (file)
@@ -363,7 +363,7 @@ static void prefs_matcher_create(void)
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
        gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
 
        vbox = gtk_vbox_new(FALSE, 6);
        gtk_widget_show(vbox);
index d0ab9582daf262f16472a81ac0b4de577ce8303e..0332b077ba56926faa360edaa5f155ebb690d63a 100644 (file)
@@ -266,7 +266,7 @@ static void quote_color_set_dialog(GtkWidget *widget, gpointer data)
        color_dialog = gtk_color_selection_dialog_new(title);
        gtk_window_set_position(GTK_WINDOW(color_dialog), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(color_dialog), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(color_dialog), FALSE, FALSE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(color_dialog), FALSE);
        manage_window_set_transient(GTK_WINDOW(color_dialog));
 
        g_signal_connect(G_OBJECT(GTK_COLOR_SELECTION_DIALOG(color_dialog)->ok_button),
index e6d3282d79a97a6a0c324bd297cb2e31ac364594..f89185e997d967e88bb461eba6eafd9ef0c99143 100644 (file)
@@ -173,7 +173,7 @@ static void prefs_summary_column_create(void)
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
        gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(window), FALSE, FALSE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), FALSE);
        gtk_window_set_title(GTK_WINDOW(window),
                             _("Displayed items configuration"));
        g_signal_connect(G_OBJECT(window), "delete_event",
index af02d363d39a5e6e46a40a44a70e780559db633f..2880a6f2fe1f81bf6884f911911cc48dd017f3f7 100644 (file)
@@ -137,7 +137,7 @@ static void prefs_template_window_create(void)
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_window_set_default_size(GTK_WINDOW(window), 400, -1);
 
        /* vpaned to separate template settings from templates list */
index 7a1d1f383f525c9c9b13081bf1393cfd529dd1d9..8937632b85de3758b890615e97a0b1c07e842289 100644 (file)
@@ -62,7 +62,7 @@ SourceWindow *source_window_create(void)
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(window), _("Source of the message"));
        gtk_window_set_wmclass(GTK_WINDOW(window), "source_window", "Sylpheed");
-       gtk_window_set_policy(GTK_WINDOW(window), TRUE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_widget_set_size_request(window, prefs_common.sourcewin_width,
                                    prefs_common.sourcewin_height);
        g_signal_connect(G_OBJECT(window), "size_allocate",
index 3c506ab52be80c4e1a14d32e2e90dbc1318229e5..04afac49c037536eaceb84a616996ff37cdcde46 100644 (file)
@@ -82,7 +82,7 @@ void ssl_manager_create(void)
                              _("Saved SSL Certificates"));
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
        gtk_window_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
-       gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
        g_signal_connect(G_OBJECT(window), "delete_event",
                         G_CALLBACK(ssl_manager_ok_cb), NULL);
        MANAGE_WINDOW_SIGNALS_CONNECT (window);
index 7909690e47b5b54daeafbee735900e59ef32ae17..1489c64db5c2861825a58e6218785d5534d64bbc 100644 (file)
@@ -100,7 +100,7 @@ static void summary_search_create(SummaryView *summaryview)
        window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title (GTK_WINDOW (window), _("Search messages"));
        gtk_widget_set_size_request (window, 450, -1);
-       gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, TRUE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_container_set_border_width (GTK_CONTAINER (window), 8);
        g_signal_connect(G_OBJECT(window), "delete_event",
                         G_CALLBACK(gtk_widget_hide_on_delete), NULL);