Sync the flags using a mail operation. This way you'll get progress
[modest] / src / dbus_api / modest-dbus-callbacks.c
index 7450644..a41f4ea 100644 (file)
@@ -546,7 +546,7 @@ find_msg_async_cb (TnyFolder *folder,
                                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 (header);