From f6f46ce7fc8950d10eb53e057117a146de5faddc Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 27 Nov 2011 12:40:01 -0600 Subject: Use e_restore_window() and "org.gnome.evolution.window". Apply it to all windows with persistent size and/or position. --- mail/em-subscription-editor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mail/em-subscription-editor.c') diff --git a/mail/em-subscription-editor.c b/mail/em-subscription-editor.c index 1d201f5d40..01e74fee8f 100644 --- a/mail/em-subscription-editor.c +++ b/mail/em-subscription-editor.c @@ -32,7 +32,6 @@ #include #include #include -#include #include "em-folder-utils.h" @@ -1615,11 +1614,12 @@ em_subscription_editor_init (EMSubscriptionEditor *editor) gtk_container_set_border_width (GTK_CONTAINER (editor), 5); gtk_window_set_title (GTK_WINDOW (editor), _("Folder Subscriptions")); + gtk_window_set_default_size (GTK_WINDOW (editor), 600, 400); - gconf_bridge_bind_window_size ( - gconf_bridge_get (), - "/apps/evolution/mail/subscription_editor", - GTK_WINDOW (editor)); + e_restore_window ( + GTK_WINDOW (editor), + "/org/gnome/evolution/mail/subscription-window/", + E_RESTORE_WINDOW_SIZE); gtk_dialog_add_button ( GTK_DIALOG (editor), -- cgit v1.2.3