aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-08 04:38:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-08 04:38:32 +0800
commit16e2beab9e4d412399f495f6165d27da80cb3675 (patch)
tree61946c02feb6e8187ef5368a9ddbcf15770cfe06 /mail/em-folder-utils.c
parent84080821d62db3358fcaee4adfc24782ed7d4318 (diff)
downloadgsoc2013-evolution-16e2beab9e4d412399f495f6165d27da80cb3675.tar.gz
gsoc2013-evolution-16e2beab9e4d412399f495f6165d27da80cb3675.tar.zst
gsoc2013-evolution-16e2beab9e4d412399f495f6165d27da80cb3675.zip
Adapt mail to EShellBackend changes.
Again, builds but not tested. Lots of compiler warnings to clean up, but I don't have the energy for it. This was pretty grueling.
Diffstat (limited to 'mail/em-folder-utils.c')
-rw-r--r--mail/em-folder-utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c
index ff93c9b5a9..510bcf782e 100644
--- a/mail/em-folder-utils.c
+++ b/mail/em-folder-utils.c
@@ -69,7 +69,7 @@
#include "em-folder-selection.h"
#include "em-folder-properties.h"
-#include "e-mail-shell-module.h"
+#include "e-mail-shell-backend.h"
#define d(x)
@@ -281,7 +281,7 @@ emfu_copy_folder_selected (const char *uri, void *data)
camel_exception_init (&ex);
- local_store = e_mail_shell_module_get_local_store (mail_shell_module);
+ local_store = e_mail_shell_backend_get_local_store (global_mail_shell_backend);
if (!(fromstore = camel_session_get_store (session, cfd->fi->uri, &ex))) {
e_error_run(NULL,
@@ -405,7 +405,7 @@ em_folder_utils_delete_folder (CamelFolder *folder)
GtkWidget *dialog;
int flags = 0;
- local_store = e_mail_shell_module_get_local_store (mail_shell_module);
+ local_store = e_mail_shell_backend_get_local_store (global_mail_shell_backend);
if (folder->parent_store == local_store && emfu_is_special_local_folder (folder->full_name)) {
dialog = e_error_new (NULL, "mail:no-delete-special-folder", folder->full_name, NULL);
@@ -440,7 +440,7 @@ em_folder_utils_rename_folder (CamelFolder *folder)
gboolean done = FALSE;
size_t base_len;
- local_store = e_mail_shell_module_get_local_store (mail_shell_module);
+ local_store = e_mail_shell_backend_get_local_store (global_mail_shell_backend);
/* don't allow user to rename one of the special local folders */
if (folder->parent_store == local_store && emfu_is_special_local_folder (folder->full_name)) {
@@ -694,7 +694,7 @@ em_folder_utils_create_folder (CamelFolderInfo *folderinfo, EMFolderTree *emft,
EMFolderTreeModel *model;
GtkWidget *dialog;
- model = e_mail_shell_module_get_folder_tree_model (mail_shell_module);
+ model = e_mail_shell_backend_get_folder_tree_model (global_mail_shell_backend);
folder_tree = (EMFolderTree *) em_folder_tree_new_with_model (model);
dialog = em_folder_selector_create_new (folder_tree, 0, _("Create Folder"), _("Specify where to create the folder:"));