* Fixes NB#82243, select the newly created folder
authorSergio Villar Senin <svillar@igalia.com>
Mon, 7 Apr 2008 09:05:16 +0000 (09:05 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Mon, 7 Apr 2008 09:05:16 +0000 (09:05 +0000)
pmo-trunk-r4371

src/modest-mail-operation.c
src/modest-ui-actions.c

index ff0b2e3..329deec 100644 (file)
@@ -3064,7 +3064,9 @@ modest_mail_operation_sync_folder (ModestMailOperation *self,
 
        modest_mail_operation_notify_start (self);
        g_object_ref (self);
-       tny_folder_sync_async (folder, expunge, (TnyFolderCallback) sync_folder_finish_callback, NULL, self);
+       tny_folder_sync_async (folder, expunge, 
+                              (TnyFolderCallback) sync_folder_finish_callback, 
+                              NULL, self);
 }
 
 static void
index f77a6b0..cfd30e7 100644 (file)
@@ -2893,7 +2893,7 @@ do_create_folder (GtkWindow *parent_window,
        if (result == GTK_RESPONSE_ACCEPT) {
                ModestMailOperation *mail_op;
                
-               mail_op  = modest_mail_operation_new (NULL);                    
+               mail_op  = modest_mail_operation_new ((GObject *) parent_window);
                modest_mail_operation_queue_add (modest_runtime_get_mail_operation_queue (), 
                                                 mail_op);
                modest_mail_operation_create_folder (mail_op,