diff options
author | Milan Crha <mcrha@redhat.com> | 2010-11-03 22:04:45 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2010-11-10 06:33:21 +0800 |
commit | ee148f2bbe4a112b3091449a9d336278d778c04e (patch) | |
tree | 5aa60033cbcf45e7c4c7c91318036c81272ba92f /modules/mail | |
parent | 73b37d2a69c275894894e88ece153dff33d1f681 (diff) | |
download | gsoc2013-evolution-ee148f2bbe4a112b3091449a9d336278d778c04e.tar gsoc2013-evolution-ee148f2bbe4a112b3091449a9d336278d778c04e.tar.gz gsoc2013-evolution-ee148f2bbe4a112b3091449a9d336278d778c04e.tar.bz2 gsoc2013-evolution-ee148f2bbe4a112b3091449a9d336278d778c04e.tar.lz gsoc2013-evolution-ee148f2bbe4a112b3091449a9d336278d778c04e.tar.xz gsoc2013-evolution-ee148f2bbe4a112b3091449a9d336278d778c04e.tar.zst gsoc2013-evolution-ee148f2bbe4a112b3091449a9d336278d778c04e.zip |
Bug #632562 - Disabled account in preferences not remove in folder tree
Diffstat (limited to 'modules/mail')
-rw-r--r-- | modules/mail/em-account-prefs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mail/em-account-prefs.c b/modules/mail/em-account-prefs.c index 5b734a4638..e309d2c4ba 100644 --- a/modules/mail/em-account-prefs.c +++ b/modules/mail/em-account-prefs.c @@ -90,8 +90,10 @@ account_prefs_disable_account_cb (EAccountTreeView *tree_view, account_list = e_account_tree_view_get_account_list (tree_view); g_return_if_fail (account_list != NULL); - if (!e_account_list_account_has_proxies (account_list, account)) + if (!e_account_list_account_has_proxies (account_list, account)) { + e_mail_store_remove_by_uri (prefs->priv->session, account->source->url); return; + } parent = gtk_widget_get_toplevel (GTK_WIDGET (tree_view)); parent = gtk_widget_is_toplevel (parent) ? parent : NULL; |