From f3fe0dd7a31616426fc41fc41954c7b40ee8f20f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 13 Nov 2003 22:33:02 +0000 Subject: Updated for function name changes in mail-component.c 2003-11-13 Jeffrey Stedfast * 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 --- mail/em-account-prefs.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'mail/em-account-prefs.c') 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 (); -- cgit