Blame SOURCES/evolution-3.8.5-redundant-folder-save.patch
|
|
79117e |
diff -up evolution-3.8.5/modules/mail/e-mail-shell-view-private.c.redundant-folder-save evolution-3.8.5/modules/mail/e-mail-shell-view-private.c
|
|
|
79117e |
--- evolution-3.8.5/modules/mail/e-mail-shell-view-private.c.redundant-folder-save 2013-08-03 15:23:06.000000000 +0200
|
|
|
79117e |
+++ evolution-3.8.5/modules/mail/e-mail-shell-view-private.c 2014-01-30 12:33:53.241856551 +0100
|
|
|
79117e |
@@ -498,18 +498,10 @@ mail_shell_view_reader_update_actions_cb
|
|
|
79117e |
}
|
|
|
79117e |
|
|
|
79117e |
static void
|
|
|
79117e |
-mail_shell_view_prepare_for_quit_done_cb (CamelFolder *folder,
|
|
|
79117e |
- gpointer user_data)
|
|
|
79117e |
-{
|
|
|
79117e |
- g_object_unref (E_ACTIVITY (user_data));
|
|
|
79117e |
-}
|
|
|
79117e |
-
|
|
|
79117e |
-static void
|
|
|
79117e |
mail_shell_view_prepare_for_quit_cb (EMailShellView *mail_shell_view,
|
|
|
79117e |
EActivity *activity)
|
|
|
79117e |
{
|
|
|
79117e |
EMailShellContent *mail_shell_content;
|
|
|
79117e |
- CamelFolder *folder;
|
|
|
79117e |
EMailReader *reader;
|
|
|
79117e |
EMailView *mail_view;
|
|
|
79117e |
GtkWidget *message_list;
|
|
|
79117e |
@@ -522,18 +514,11 @@ mail_shell_view_prepare_for_quit_cb (EMa
|
|
|
79117e |
mail_view = e_mail_shell_content_get_mail_view (mail_shell_content);
|
|
|
79117e |
|
|
|
79117e |
reader = E_MAIL_READER (mail_view);
|
|
|
79117e |
- folder = e_mail_reader_get_folder (reader);
|
|
|
79117e |
message_list = e_mail_reader_get_message_list (reader);
|
|
|
79117e |
-
|
|
|
79117e |
message_list_save_state (MESSAGE_LIST (message_list));
|
|
|
79117e |
|
|
|
79117e |
- if (folder == NULL)
|
|
|
79117e |
- return;
|
|
|
79117e |
-
|
|
|
79117e |
- mail_sync_folder (
|
|
|
79117e |
- folder, TRUE,
|
|
|
79117e |
- mail_shell_view_prepare_for_quit_done_cb,
|
|
|
79117e |
- g_object_ref (activity));
|
|
|
79117e |
+ /* Do not sync folder content here, it's duty of EMailBackend,
|
|
|
79117e |
+ which does it for all accounts */
|
|
|
79117e |
}
|
|
|
79117e |
|
|
|
79117e |
static void
|