aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.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-config.c
parent143ba4162a04d8a623245c8965b7cce54326cd0b (diff)
downloadgsoc2013-evolution-6b1b5d30fd4dd6e02513947a1d706554ff2a9fec.tar.gz
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-config.c')
-rw-r--r--mail/mail-config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index ee3e5121e6..895a0d89b3 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -766,6 +766,7 @@ void
mail_config_add_account (EAccount *account)
{
e_list_append ((EList *) config->accounts, account);
+ g_signal_emit_by_name (config->accounts, "account-added", account);
mail_config_save_accounts ();
}
@@ -802,7 +803,10 @@ mail_config_remove_account (EAccount *account)
gconf_client_set_int (config->gconf, "/apps/evolution/mail/default_account", cur - 1, NULL);
}
+ g_object_ref (account);
e_list_remove ((EList *) config->accounts, account);
+ g_signal_emit_by_name (config->accounts, "account-removed", account);
+ g_object_unref (account);
mail_config_save_accounts ();
}