diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-08 04:38:32 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-08 04:38:32 +0800 |
commit | 16e2beab9e4d412399f495f6165d27da80cb3675 (patch) | |
tree | 61946c02feb6e8187ef5368a9ddbcf15770cfe06 /mail/e-mail-shell-view-actions.c | |
parent | 84080821d62db3358fcaee4adfc24782ed7d4318 (diff) | |
download | gsoc2013-evolution-16e2beab9e4d412399f495f6165d27da80cb3675.tar gsoc2013-evolution-16e2beab9e4d412399f495f6165d27da80cb3675.tar.gz gsoc2013-evolution-16e2beab9e4d412399f495f6165d27da80cb3675.tar.bz2 gsoc2013-evolution-16e2beab9e4d412399f495f6165d27da80cb3675.tar.lz gsoc2013-evolution-16e2beab9e4d412399f495f6165d27da80cb3675.tar.xz 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/e-mail-shell-view-actions.c')
-rw-r--r-- | mail/e-mail-shell-view-actions.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/e-mail-shell-view-actions.c b/mail/e-mail-shell-view-actions.c index 600d8e847c..2491e41a46 100644 --- a/mail/e-mail-shell-view-actions.c +++ b/mail/e-mail-shell-view-actions.c @@ -46,7 +46,7 @@ action_mail_account_disable_cb (GtkAction *action, EMailShellView *mail_shell_view) { EMailShellSidebar *mail_shell_sidebar; - EShellModule *shell_module; + EShellBackend *shell_backend; EShellView *shell_view; EMFolderTree *folder_tree; EAccountList *account_list; @@ -54,7 +54,7 @@ action_mail_account_disable_cb (GtkAction *action, gchar *folder_uri; shell_view = E_SHELL_VIEW (mail_shell_view); - shell_module = e_shell_view_get_shell_module (shell_view); + shell_backend = e_shell_view_get_shell_backend (shell_view); mail_shell_sidebar = mail_shell_view->priv->mail_shell_sidebar; folder_tree = e_mail_shell_sidebar_get_folder_tree (mail_shell_sidebar); @@ -70,7 +70,7 @@ action_mail_account_disable_cb (GtkAction *action, account->enabled = !account->enabled; e_account_list_change (account_list, account); - e_mail_shell_module_remove_store_by_uri (shell_module, folder_uri); + e_mail_shell_backend_remove_store_by_uri (shell_backend, folder_uri); if (account->parent_uid != NULL) e_account_list_remove (account_list, account); @@ -101,13 +101,13 @@ action_mail_download_cb (GtkAction *action, EMailShellView *mail_shell_view) { EShellView *shell_view; - EShellModule *shell_module; + EShellBackend *shell_backend; shell_view = E_SHELL_VIEW (mail_shell_view); - shell_module = e_shell_view_get_shell_module (shell_view); + shell_backend = e_shell_view_get_shell_backend (shell_view); - e_mail_shell_module_stores_foreach ( - shell_module, (GHFunc) action_mail_download_foreach_cb, NULL); + e_mail_shell_backend_stores_foreach ( + shell_backend, (GHFunc) action_mail_download_foreach_cb, NULL); } static void |