diff options
author | Not Zed <NotZed@Ximian.com> | 2003-02-24 11:10:37 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-02-24 11:10:37 +0800 |
commit | 39d5d1df1903dd76f62dc86d6825045832e6b12f (patch) | |
tree | 2843c9decd8fd1c4b37769bed5c0e5a925ca1d27 /mail/mail-account-gui.c | |
parent | ba64403a4fef604cc3aaea6bff35b8275f30cfb1 (diff) | |
download | gsoc2013-evolution-39d5d1df1903dd76f62dc86d6825045832e6b12f.tar.gz gsoc2013-evolution-39d5d1df1903dd76f62dc86d6825045832e6b12f.tar.zst gsoc2013-evolution-39d5d1df1903dd76f62dc86d6825045832e6b12f.zip |
fix the g_snprintf stuff.
2003-02-20 Not Zed <NotZed@Ximian.com>
* mail-preferences.c (mail_preferences_apply): fix the g_snprintf
stuff.
* mail-config.c (mail_config_add_account): Use new
e_account_list_add.
(mail_config_remove_account): Use new e_account_list_remove.
(mail_config_set_default_account): Similarly for
e_account_list_set_default.
(mail_config_get_default_account): Same for
e_account_list_get_default.
(mail_config_get_account_by_name): Use e_account_list_find.
* mail-account-gui.c (mail_account_gui_save): use new
e_account_list_changed call instead of manual signalling.
svn path=/trunk/; revision=20020
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r-- | mail/mail-account-gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index a2896f6017..bb458adebf 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -33,6 +33,8 @@ #include <gconf/gconf.h> #include <gconf/gconf-client.h> +#include <e-util/e-account-list.h> + #include <gal/widgets/e-gui-utils.h> #include "evolution-folder-selector-button.h" @@ -1840,7 +1842,6 @@ 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; @@ -1974,8 +1975,7 @@ mail_account_gui_save (MailAccountGui *gui) if (is_new) { mail_config_add_account (account); } else { - accounts = mail_config_get_accounts (); - g_signal_emit_by_name (accounts, "account-changed", account); + e_account_list_changed(mail_config_get_accounts (), account); } /* if the account provider is something we can stick |