aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-01-28 00:39:36 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:29 +0800
commit0364d4192bde55cb2d834db4e8eab05aa8f7d389 (patch)
tree425828b94cd63a16133e9b14c485a321d5080a16
parentbe51aeee182aa2892d46ebcc31bdad82a02387e9 (diff)
downloadgsoc2013-evolution-0364d4192bde55cb2d834db4e8eab05aa8f7d389.tar.gz
gsoc2013-evolution-0364d4192bde55cb2d834db4e8eab05aa8f7d389.tar.zst
gsoc2013-evolution-0364d4192bde55cb2d834db4e8eab05aa8f7d389.zip
Bug #640704 - Replace GtkWindow::allow_shrink/grow with resizable
-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);