diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-24 12:40:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-24 12:40:49 +0800 |
commit | 174c942e0945a2017f0c479883dce2950e42e786 (patch) | |
tree | 0011078b4121d5c6c200825b0ab1bb1c4cefd519 /mail/e-mail-reader.c | |
parent | ce7537b495a3788d9bda4b6a783a5c3d95309926 (diff) | |
download | gsoc2013-evolution-174c942e0945a2017f0c479883dce2950e42e786.tar.gz gsoc2013-evolution-174c942e0945a2017f0c479883dce2950e42e786.tar.zst gsoc2013-evolution-174c942e0945a2017f0c479883dce2950e42e786.zip |
Split store and local folder management out from shell backend.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 787bd0ca61..a58e0acd46 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -148,9 +148,7 @@ static void action_mail_copy_cb (GtkAction *action, EMailReader *reader) { - EShellBackend *shell_backend; MessageList *message_list; - EMFolderTreeModel *model; CamelFolder *folder; GtkWidget *folder_tree; GtkWidget *dialog; @@ -158,11 +156,8 @@ action_mail_copy_cb (GtkAction *action, const gchar *uri; message_list = e_mail_reader_get_message_list (reader); - shell_backend = e_mail_reader_get_shell_backend (reader); - model = e_mail_shell_backend_get_folder_tree_model ( - E_MAIL_SHELL_BACKEND (shell_backend)); - folder_tree = em_folder_tree_new_with_model (model); + folder_tree = em_folder_tree_new (); selected = message_list_get_selected (message_list); folder = message_list->folder; @@ -558,9 +553,7 @@ static void action_mail_move_cb (GtkAction *action, EMailReader *reader) { - EShellBackend *shell_backend; MessageList *message_list; - EMFolderTreeModel *model; CamelFolder *folder; GtkWidget *folder_tree; GtkWidget *dialog; @@ -568,11 +561,8 @@ action_mail_move_cb (GtkAction *action, const gchar *uri; message_list = e_mail_reader_get_message_list (reader); - shell_backend = e_mail_reader_get_shell_backend (reader); - model = e_mail_shell_backend_get_folder_tree_model ( - E_MAIL_SHELL_BACKEND (shell_backend)); - folder_tree = em_folder_tree_new_with_model (model); + folder_tree = em_folder_tree_new (); selected = message_list_get_selected (message_list); folder = message_list->folder; |