diff options
Diffstat (limited to 'mail/em-filter-editor.c')
-rw-r--r-- | mail/em-filter-editor.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/mail/em-filter-editor.c b/mail/em-filter-editor.c index 06bb8d33c9..0785d08163 100644 --- a/mail/em-filter-editor.c +++ b/mail/em-filter-editor.c @@ -30,7 +30,6 @@ #include "e-util/e-util.h" #include "e-util/e-util-private.h" -#include "e-util/gconf-bridge.h" #include "em-filter-editor.h" #include "em-filter-rule.h" @@ -67,14 +66,12 @@ em_filter_editor_class_init (EMFilterEditorClass *class) static void em_filter_editor_init (EMFilterEditor *filter_editor) { - GConfBridge *bridge; - const gchar *key_prefix; + gtk_window_set_default_size (GTK_WINDOW (filter_editor), 400, 650); - bridge = gconf_bridge_get (); - key_prefix = "/apps/evolution/mail/filter_editor"; - - gconf_bridge_bind_window_size ( - bridge, key_prefix, GTK_WINDOW (filter_editor)); + e_restore_window ( + GTK_WINDOW (filter_editor), + "/org/gnome/evolution/mail/filter-window/", + E_RESTORE_WINDOW_SIZE); } /** |