Use the ModestWindow to create the Move to dialog instead of ModestShell
authorSergio Villar Senín <svillar@igalia.com>
Sat, 9 Jan 2010 10:39:37 +0000 (11:39 +0100)
committerSergio Villar Senín <svillar@igalia.com>
Sat, 9 Jan 2010 10:40:54 +0000 (11:40 +0100)
src/modest-ui-actions.c

index 9310e5e..ccd14e6 100644 (file)
@@ -5157,8 +5157,8 @@ modest_ui_actions_on_edit_mode_move_to (ModestWindow *win)
        }
 
        /* Create and run the dialog */
+       dialog = create_move_to_dialog (win, NULL, list_to_move);
        toplevel = (GtkWindow *) gtk_widget_get_toplevel ((GtkWidget *) win);
-       dialog = create_move_to_dialog (toplevel, NULL, list_to_move);
        modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),
                                     GTK_WINDOW (dialog),
                                     toplevel);