aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-01-28 00:39:36 +0800
committerMilan Crha <mcrha@redhat.com>2011-01-28 00:39:36 +0800
commit200ba3606da4f501fdd3a439fbd5aef2852eeb5f (patch)
tree665f4136df8905cfe7d8dfa7a20784e01b2f938c /mail
parent52dd097f161c69e11013a8ad4b0f028503d93c91 (diff)
downloadgsoc2013-evolution-200ba3606da4f501fdd3a439fbd5aef2852eeb5f.tar
gsoc2013-evolution-200ba3606da4f501fdd3a439fbd5aef2852eeb5f.tar.gz
gsoc2013-evolution-200ba3606da4f501fdd3a439fbd5aef2852eeb5f.tar.bz2
gsoc2013-evolution-200ba3606da4f501fdd3a439fbd5aef2852eeb5f.tar.lz
gsoc2013-evolution-200ba3606da4f501fdd3a439fbd5aef2852eeb5f.tar.xz
gsoc2013-evolution-200ba3606da4f501fdd3a439fbd5aef2852eeb5f.tar.zst
gsoc2013-evolution-200ba3606da4f501fdd3a439fbd5aef2852eeb5f.zip
Bug #640704 - Replace GtkWindow::allow_shrink/grow with resizable
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-session.c4
-rw-r--r--mail/mail-vfolder.c4
2 files changed, 3 insertions, 5 deletions
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index 9f54f956ac..706fa2647e 100644
--- a/mail/e-mail-session.c
+++ b/mail/e-mail-session.c
@@ -200,9 +200,7 @@ user_message_exec (struct _user_message_msg *m,
parent = e_shell_get_active_window (e_shell_get_default ());
user_message_dialog = e_alert_dialog_new_for_args (
parent, error_type, m->prompt, NULL);
- g_object_set (
- user_message_dialog, "allow_shrink", TRUE,
- "allow_grow", TRUE, NULL);
+ g_object_set (user_message_dialog, "resizable", TRUE, NULL);
/* XXX This is a case where we need to be able to construct
* custom EAlerts without a predefined XML definition. */
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index 7f22198973..3629de1a4b 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -1281,7 +1281,7 @@ vfolder_edit_rule (EMailBackend *backend,
gtk_box_set_spacing (GTK_BOX (container), 6);
gtk_dialog_set_default_response (gd, GTK_RESPONSE_OK);
- g_object_set(gd, "allow_shrink", FALSE, "allow_grow", TRUE, NULL);
+ g_object_set (gd, "resizable", TRUE, NULL);
gtk_window_set_default_size (GTK_WINDOW (gd), 500, 500);
gtk_box_pack_start (GTK_BOX (container), w, TRUE, TRUE, 0);
gtk_widget_show ((GtkWidget *)gd);
@@ -1387,7 +1387,7 @@ vfolder_gui_add_rule (EMVFolderRule *rule)
container = gtk_dialog_get_content_area (gd);
gtk_box_set_spacing (GTK_BOX (container), 6);
- g_object_set(gd, "allow_shrink", FALSE, "allow_grow", TRUE, NULL);
+ g_object_set (gd, "resizable", TRUE, NULL);
gtk_window_set_default_size (GTK_WINDOW (gd), 500, 500);
gtk_box_pack_start (GTK_BOX (container), w, TRUE, TRUE, 0);
gtk_widget_show ((GtkWidget *)gd);