Sync the flags using a mail operation. This way you'll get progress
[modest] / src / hildon2 / modest-msg-view-window.c
index 1aed5f5..6b0f9db 100644 (file)
@@ -3819,7 +3819,7 @@ sync_flags (ModestMsgViewWindow *self)
                        mail_op = modest_mail_operation_new (NULL);
                        modest_mail_operation_queue_add (modest_runtime_get_mail_operation_queue (),
                                                         mail_op);
-                       modest_mail_operation_sync_folder (mail_op, folder, FALSE);
+                       modest_mail_operation_sync_folder (mail_op, folder, FALSE, NULL, NULL);
                        g_object_unref (mail_op);
                        g_object_unref (folder);
                }