aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-24 05:09:24 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:19 +0800
commit7050475f84247fb15e24aa1bb31502106c18815d (patch)
tree60e500f221d5f97b241045b10806c5c4ddbcc7c1 /mail/e-mail-reader.c
parenta98cb0a9820d2119bf10c317e5f6a9d56dd9073c (diff)
downloadgsoc2013-evolution-7050475f84247fb15e24aa1bb31502106c18815d.tar
gsoc2013-evolution-7050475f84247fb15e24aa1bb31502106c18815d.tar.gz
gsoc2013-evolution-7050475f84247fb15e24aa1bb31502106c18815d.tar.bz2
gsoc2013-evolution-7050475f84247fb15e24aa1bb31502106c18815d.tar.lz
gsoc2013-evolution-7050475f84247fb15e24aa1bb31502106c18815d.tar.xz
gsoc2013-evolution-7050475f84247fb15e24aa1bb31502106c18815d.tar.zst
gsoc2013-evolution-7050475f84247fb15e24aa1bb31502106c18815d.zip
EMFolderTree: Store an EMailBackend instead of an EMailSession.
All this so EMFolderTree can submit EActivity instances for async ops. You can obtain an EMailSession from an EMailBackend, but not vice versa. Creates lots of pretty ripples in the mail code, but ultimately reduces complexity. So it's a code cleanup of sorts.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 3802eaaded..18d7621a9d 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -294,7 +294,7 @@ action_mail_copy_cb (GtkAction *action,
window = e_mail_reader_get_window (reader);
uids = e_mail_reader_get_selected_uids (reader);
- folder_tree = em_folder_tree_new (session);
+ folder_tree = em_folder_tree_new (backend);
emu_restore_folder_tree_state (EM_FOLDER_TREE (folder_tree));
em_folder_tree_set_excluded (
@@ -797,7 +797,7 @@ action_mail_move_cb (GtkAction *action,
session = e_mail_backend_get_session (backend);
- folder_tree = em_folder_tree_new (session);
+ folder_tree = em_folder_tree_new (backend);
emu_restore_folder_tree_state (EM_FOLDER_TREE (folder_tree));
em_folder_tree_set_excluded (