diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-11-26 23:08:15 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-11-26 23:41:49 +0800 |
commit | 122a84d7f61133a0bb01b1a272f5b902c0f184c1 (patch) | |
tree | 82af88b69769157166afcd1c9f6c07d51fd050bf /libemail-engine/e-mail-session.c | |
parent | 4899dc5ca6e6e0e7522e7afc672adebf96eb5b81 (diff) | |
download | gsoc2013-evolution-122a84d7f61133a0bb01b1a272f5b902c0f184c1.tar gsoc2013-evolution-122a84d7f61133a0bb01b1a272f5b902c0f184c1.tar.gz gsoc2013-evolution-122a84d7f61133a0bb01b1a272f5b902c0f184c1.tar.bz2 gsoc2013-evolution-122a84d7f61133a0bb01b1a272f5b902c0f184c1.tar.lz gsoc2013-evolution-122a84d7f61133a0bb01b1a272f5b902c0f184c1.tar.xz gsoc2013-evolution-122a84d7f61133a0bb01b1a272f5b902c0f184c1.tar.zst gsoc2013-evolution-122a84d7f61133a0bb01b1a272f5b902c0f184c1.zip |
ESettingsMailSession: Bind to "junk-default-plugin".
Use mapping functions to convert between the filter name string and
the corresponding EMailJunkFilter extension.
Diffstat (limited to 'libemail-engine/e-mail-session.c')
-rw-r--r-- | libemail-engine/e-mail-session.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libemail-engine/e-mail-session.c b/libemail-engine/e-mail-session.c index 7cffcc514f..003c0a73a2 100644 --- a/libemail-engine/e-mail-session.c +++ b/libemail-engine/e-mail-session.c @@ -1289,16 +1289,6 @@ mail_session_constructed (GObject *object) g_list_free (list); - settings = g_settings_new ("org.gnome.evolution.mail"); - - /* Bind the "junk-default-plugin" GSettings - * key to our "junk-filter-name" property. */ - - g_settings_bind ( - settings, "junk-default-plugin", - object, "junk-filter-name", - G_SETTINGS_BIND_DEFAULT); - mail_config_reload_junk_headers (session); e_proxy_setup_proxy (session->priv->proxy); @@ -1307,6 +1297,8 @@ mail_session_constructed (GObject *object) * before starting the first mail store refresh. */ mail_msg_init (); + settings = g_settings_new ("org.gnome.evolution.mail"); + /* The application is not yet fully initialized at this point, * so run the first mail store refresh from an idle callback. */ if (g_settings_get_boolean (settings, "send-recv-on-start")) |