diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-06-09 01:18:04 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-09 01:47:22 +0800 |
commit | b4fbbde6ab7deb247f1db19558489a868c75467d (patch) | |
tree | d8dd0d1950cf35719391ec60474e5fa0844e1165 /libemail-engine | |
parent | f92f3a1f453b037427539f2c0e3968d56fde8696 (diff) | |
download | gsoc2013-evolution-b4fbbde6ab7deb247f1db19558489a868c75467d.tar gsoc2013-evolution-b4fbbde6ab7deb247f1db19558489a868c75467d.tar.gz gsoc2013-evolution-b4fbbde6ab7deb247f1db19558489a868c75467d.tar.bz2 gsoc2013-evolution-b4fbbde6ab7deb247f1db19558489a868c75467d.tar.lz gsoc2013-evolution-b4fbbde6ab7deb247f1db19558489a868c75467d.tar.xz gsoc2013-evolution-b4fbbde6ab7deb247f1db19558489a868c75467d.tar.zst gsoc2013-evolution-b4fbbde6ab7deb247f1db19558489a868c75467d.zip |
Remove "enable-local" and "enable-vfolders" GSettings key.
We have built-in ESources for the 'local' and 'vfolder' mail stores,
and can now track their enabled state as we would any other mail store.
Diffstat (limited to 'libemail-engine')
-rw-r--r-- | libemail-engine/mail-vfolder.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libemail-engine/mail-vfolder.c b/libemail-engine/mail-vfolder.c index be60534719..d1fb0a52f1 100644 --- a/libemail-engine/mail-vfolder.c +++ b/libemail-engine/mail-vfolder.c @@ -1018,7 +1018,6 @@ vfolder_load_storage (EMailSession *session) EFilterRule *rule; MailFolderCache *folder_cache; gchar *xmlfile; - GSettings *settings; G_LOCK (vfolder_hash); @@ -1033,7 +1032,7 @@ vfolder_load_storage (EMailSession *session) G_UNLOCK (vfolder_hash); config_dir = mail_session_get_config_dir (); - vfolder_store = e_mail_session_get_vfolder_store (E_MAIL_SESSION (session)); + vfolder_store = e_mail_session_get_vfolder_store (session); g_signal_connect ( vfolder_store, "folder-deleted", @@ -1076,11 +1075,6 @@ vfolder_load_storage (EMailSession *session) } } - /* reenable the feature if required */ - settings = g_settings_new ("org.gnome.evolution.mail"); - g_settings_set_boolean (settings, "enable-vfolders", TRUE); - g_object_unref (settings); - folder_cache = e_mail_session_get_folder_cache (session); g_signal_connect ( |