From a9cfed5938aef37d95c009411f965ebc185547c1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 16 Dec 2011 10:40:37 -0500 Subject: Avoid passing EMailBackend as much as possible. More mail API churn... reversing some previous API decisions. I've made some key API changes to EMailSession on the account-mgmt branch which should allow for this, and will hopefully also benefit the "email-factory" branch. EMailBackend barely needs to exist anymore, except as the owner of EMailSession. For several low-level functions, we replace its EMailBackend parameter with EMailSession and EAlertSink parameters; the latter so it can still pass user alerts up the chain. --- mail/e-mail-reader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/e-mail-reader.c') diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 60289e82f9..12e3a8ac92 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -305,7 +305,7 @@ action_mail_copy_cb (GtkAction *action, model = em_folder_tree_model_get_default (); dialog = em_folder_selector_new ( - window, backend, model, + window, model, EM_FOLDER_SELECTOR_CAN_CREATE, _("Copy to Folder"), NULL, _("C_opy")); @@ -820,7 +820,7 @@ action_mail_move_cb (GtkAction *action, model = em_folder_tree_model_get_default (); dialog = em_folder_selector_new ( - window, backend, model, + window, model, EM_FOLDER_SELECTOR_CAN_CREATE, _("Move to Folder"), NULL, _("_Move")); -- cgit