diff options
Diffstat (limited to 'mail/e-mail-browser.c')
-rw-r--r-- | mail/e-mail-browser.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c index fe8b8984f3..aaa12b1d14 100644 --- a/mail/e-mail-browser.c +++ b/mail/e-mail-browser.c @@ -550,7 +550,7 @@ mail_browser_constructed (GObject *object) EShell *shell; EFocusTracker *focus_tracker; ESearchBar *search_bar; - GConfBridge *bridge; + GSettings *settings; GtkAccelGroup *accel_group; GtkActionGroup *action_group; GtkAction *action; @@ -710,13 +710,13 @@ mail_browser_constructed (GObject *object) search_bar, "changed", G_CALLBACK (em_format_queue_redraw), priv->formatter); - /* Bind GObject properties to GConf keys. */ + /* Bind GObject properties to GSettings keys. */ - bridge = gconf_bridge_get (); + settings = g_settings_new ("org.gnome.evolution.mail"); object = G_OBJECT (reader); - key = "/apps/evolution/mail/display/show_deleted"; - gconf_bridge_bind_property (bridge, key, object, "show-deleted"); + g_settings_bind (settings, "show-deleted", object, "show-deleted", G_SETTINGS_BIND_DEFAULT); + g_object_unref (settings); id = "org.gnome.evolution.mail.browser"; e_plugin_ui_register_manager (ui_manager, id, object); |