From 6b1b5d30fd4dd6e02513947a1d706554ff2a9fec Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 27 Jan 2003 18:06:57 +0000 Subject: Fixed a #warning by converting a local path into a file: uri before 2003-01-27 Jeffrey Stedfast * 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 * 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 --- mail/mail-config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mail/mail-config.c') 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 (); } -- cgit