diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-28 02:40:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-28 08:03:45 +0800 |
commit | f6f46ce7fc8950d10eb53e057117a146de5faddc (patch) | |
tree | 1399d1436a3991b979f3b0773e2cdcec41840383 /mail/em-subscription-editor.c | |
parent | 15da8fa99012875735ffa3a1eb54670b6d42bea4 (diff) | |
download | gsoc2013-evolution-f6f46ce7fc8950d10eb53e057117a146de5faddc.tar.gz gsoc2013-evolution-f6f46ce7fc8950d10eb53e057117a146de5faddc.tar.zst gsoc2013-evolution-f6f46ce7fc8950d10eb53e057117a146de5faddc.zip |
Use e_restore_window() and "org.gnome.evolution.window".
Apply it to all windows with persistent size and/or position.
Diffstat (limited to 'mail/em-subscription-editor.c')
-rw-r--r-- | mail/em-subscription-editor.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 <e-util/e-util.h> #include <e-util/e-account-utils.h> #include <e-util/e-util-private.h> -#include <e-util/gconf-bridge.h> #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), |