aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-prefs.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-11-14 06:33:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-11-14 06:33:02 +0800
commitf3fe0dd7a31616426fc41fc41954c7b40ee8f20f (patch)
tree43873596c2c3b7fd60125ed3b21ad3d01e9d27be /mail/em-account-prefs.c
parent5c8d360c983f9362cd96c59089b9f2b8fc415847 (diff)
downloadgsoc2013-evolution-f3fe0dd7a31616426fc41fc41954c7b40ee8f20f.tar.gz
gsoc2013-evolution-f3fe0dd7a31616426fc41fc41954c7b40ee8f20f.tar.zst
gsoc2013-evolution-f3fe0dd7a31616426fc41fc41954c7b40ee8f20f.zip
Updated for function name changes in mail-component.c
2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_load_storage): Updated for function name changes in mail-component.c * mail-offline-handler.c: Updated for function name changes in mail-component.c * mail-account-gui.c (add_new_store): Fixed to not use EStorage. (mail_account_gui_save): Updated for function name changes. * em-account-prefs.c (account_delete_clicked): Updated for function name changes. (account_able_clicked): Same. (account_able_toggled): Same. * mail-component.c: Renamed mail_component_*storage*() functions to mail_component_*store*() since we are no longer dealing with storages, but instead with CamelStore's. (create_view_widget): If the user selects a store node, don't try to open it as a folder. svn path=/trunk/; revision=23340
Diffstat (limited to 'mail/em-account-prefs.c')
-rw-r--r--mail/em-account-prefs.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c
index 4e5008f3ef..e4b3844b2b 100644
--- a/mail/em-account-prefs.c
+++ b/mail/em-account-prefs.c
@@ -250,8 +250,8 @@ account_delete_clicked (GtkButton *button, gpointer user_data)
/* remove it from the folder-tree in the shell */
if (account->enabled && account->source && account->source->url)
- mail_component_remove_storage_by_uri (mail_component_peek (), account->source->url);
-
+ mail_component_remove_store_by_uri (mail_component_peek (), account->source->url);
+
/* remove it from the config file */
mail_config_remove_account (account);
accounts = mail_config_get_accounts ();
@@ -320,11 +320,11 @@ account_able_clicked (GtkButton *button, gpointer user_data)
folder-tree, otherwise add it to the folder-tree */
if (account->source->url) {
if (account->enabled)
- mail_component_load_storage_by_uri (component,
- account->source->url,
- account->name);
+ mail_component_load_store_by_uri (component,
+ account->source->url,
+ account->name);
else
- mail_component_remove_storage_by_uri (component, account->source->url);
+ mail_component_remove_store_by_uri (component, account->source->url);
}
mail_autoreceive_setup ();
@@ -360,14 +360,14 @@ account_able_toggled (GtkCellRendererToggle *renderer, char *arg1, gpointer user
if (account) {
MailComponent *component = mail_component_peek ();
-
+
/* if the account got disabled, remove it from the
folder-tree, otherwise add it to the folder-tree */
if (account->source->url) {
if (account->enabled)
- mail_component_load_storage_by_uri (component, account->source->url, account->name);
+ mail_component_load_store_by_uri (component, account->source->url, account->name);
else
- mail_component_remove_storage_by_uri (component, account->source->url);
+ mail_component_remove_store_by_uri (component, account->source->url);
}
mail_autoreceive_setup ();