diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-12 00:09:48 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:12 +0800 |
commit | 750864c8902f95edb1023ed4169b208d3f04cabf (patch) | |
tree | 79828a75e7f79e5e9c2e0fe79f8a476f5a967eb4 /mail/e-mail-reader.c | |
parent | 6693730cc102ae3af1e4a641df2048fa8bf3d39b (diff) | |
download | gsoc2013-evolution-750864c8902f95edb1023ed4169b208d3f04cabf.tar.gz gsoc2013-evolution-750864c8902f95edb1023ed4169b208d3f04cabf.tar.zst gsoc2013-evolution-750864c8902f95edb1023ed4169b208d3f04cabf.zip |
Reimplement em_utils_edit_messages().
Now uses e_mail_folder_get_multiple_messages().
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index e248a561cd..e18a5467d2 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -725,22 +725,15 @@ static void action_mail_message_edit_cb (GtkAction *action, EMailReader *reader) { - EShell *shell; - EMailBackend *backend; - EShellBackend *shell_backend; CamelFolder *folder; GPtrArray *uids; gboolean replace; - backend = e_mail_reader_get_backend (reader); folder = e_mail_reader_get_folder (reader); uids = e_mail_reader_get_selected_uids (reader); - shell_backend = E_SHELL_BACKEND (backend); - shell = e_shell_backend_get_shell (shell_backend); - replace = em_utils_folder_is_drafts (folder); - em_utils_edit_messages (shell, folder, uids, replace); + em_utils_edit_messages (reader, folder, uids, replace); } static void |