[evolution/wip/gsettings] Bug #640704 - Replace GtkWindow::allow_shrink/grow with resizable
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Bug #640704 - Replace GtkWindow::allow_shrink/grow with resizable
- Date: Wed, 29 Jun 2011 17:05:40 +0000 (UTC)
commit 0364d4192bde55cb2d834db4e8eab05aa8f7d389
Author: Milan Crha <mcrha redhat com>
Date: Thu Jan 27 17:39:36 2011 +0100
Bug #640704 - Replace GtkWindow::allow_shrink/grow with resizable
mail/e-mail-session.c | 4 +---
mail/mail-vfolder.c | 4 ++--
2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index 9f54f95..706fa26 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 7f22198..3629de1 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]