aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-01-28 02:06:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-28 02:06:57 +0800
commit6b1b5d30fd4dd6e02513947a1d706554ff2a9fec (patch)
tree41cd8e6291f2941582245c9e5f1fe40037662ff9 /mail/mail-account-gui.c
parent143ba4162a04d8a623245c8965b7cce54326cd0b (diff)
downloadgsoc2013-evolution-6b1b5d30fd4dd6e02513947a1d706554ff2a9fec.tar
gsoc2013-evolution-6b1b5d30fd4dd6e02513947a1d706554ff2a9fec.tar.gz
gsoc2013-evolution-6b1b5d30fd4dd6e02513947a1d706554ff2a9fec.tar.bz2
gsoc2013-evolution-6b1b5d30fd4dd6e02513947a1d706554ff2a9fec.tar.lz
gsoc2013-evolution-6b1b5d30fd4dd6e02513947a1d706554ff2a9fec.tar.xz
gsoc2013-evolution-6b1b5d30fd4dd6e02513947a1d706554ff2a9fec.tar.zst
gsoc2013-evolution-6b1b5d30fd4dd6e02513947a1d706554ff2a9fec.zip
Fixed a #warning by converting a local path into a file: uri before
2003-01-27 Jeffrey Stedfast <fejj@ximian.com> * mail-identify.c (mail_identify_mime_part): Fixed a #warning by converting a local path into a file: uri before feeding it to gnome-vfs. * message-list.c (message_list_set_folder): Removed a FIXME that I've decided is no longer needed. 2003-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_add_account): Emit the account-added event. (mail_config_remove_account): Emit the account-removed event. * mail-account-gui.c (mail_account_gui_save): Emit the changed event on the account-list for the changed account. svn path=/trunk/; revision=19655
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 11587f886c..607a0015ef 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -1823,6 +1823,7 @@ add_new_store (char *uri, CamelStore *store, void *user_data)
gboolean
mail_account_gui_save (MailAccountGui *gui)
{
+ EAccountList *accounts;
EAccount *account, *new;
CamelProvider *provider = NULL;
CamelURL *source_url = NULL, *url;
@@ -1953,8 +1954,12 @@ mail_account_gui_save (MailAccountGui *gui)
e_account_import (account, new);
g_object_unref (new);
- if (is_new)
+ if (is_new) {
mail_config_add_account (account);
+ } else {
+ accounts = mail_config_get_accounts ();
+ g_signal_emit_by_name (accounts, "account-changed", account);
+ }
/* if the account provider is something we can stick
in the folder-tree and not added by some other