2007-07-30 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Mon, 30 Jul 2007 08:22:37 +0000 (08:22 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 30 Jul 2007 08:22:37 +0000 (08:22 +0000)
* src/modest-ui-actions.c: (run_account_setup_wizard),
(modest_ui_actions_on_accounts): Revert a change that set these
to modal dialogs, freezing the UI when they show secondary dialogs.
This fixed projects.maemo.org bug NB#64519.

pmo-trunk-r2839

ChangeLog
ChangeLog2
src/modest-ui-actions.c

index acb6b92..48f7a59 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1 +1 @@
-* please check the svn log instead
+ please check the svn log instead
index 3fb7900..63f70a5 100644 (file)
@@ -1,3 +1,10 @@
+2007-07-30  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-ui-actions.c: (run_account_setup_wizard),
+       (modest_ui_actions_on_accounts): Revert a change that set these 
+       to modal dialogs, freezing the UI when they show secondary dialogs.
+       This fixed projects.maemo.org bug NB#64519.
+
 2007-07-27  Murray Cumming  <murrayc@murrayc.com>
 
        * src/widgets/modest-header-view-render.c:
 2007-07-27  Murray Cumming  <murrayc@murrayc.com>
 
        * src/widgets/modest-header-view-render.c:
index ebc91d7..9a9aa95 100644 (file)
@@ -150,7 +150,11 @@ run_account_setup_wizard (ModestWindow *win)
        
        wizard = modest_easysetup_wizard_dialog_new ();
        gtk_window_set_transient_for (GTK_WINDOW (wizard), GTK_WINDOW (win));
        
        wizard = modest_easysetup_wizard_dialog_new ();
        gtk_window_set_transient_for (GTK_WINDOW (wizard), GTK_WINDOW (win));
-       gtk_window_set_modal (GTK_WINDOW (wizard), TRUE);
+       
+       /* Don't make this a modal window, because secondary windows will then 
+        * be unusable, freezing the UI: */
+       /* gtk_window_set_modal (GTK_WINDOW (wizard), TRUE); */
+       
        gtk_dialog_run (GTK_DIALOG (wizard));
        gtk_widget_destroy (GTK_WIDGET (wizard));
 }
        gtk_dialog_run (GTK_DIALOG (wizard));
        gtk_widget_destroy (GTK_WIDGET (wizard));
 }
@@ -529,7 +533,10 @@ modest_ui_actions_on_accounts (GtkAction *action, ModestWindow *win)
                /* Show the list of accounts: */
                GtkDialog *account_win = GTK_DIALOG(modest_account_view_window_new ());
                gtk_window_set_transient_for (GTK_WINDOW (account_win), GTK_WINDOW (win));
                /* Show the list of accounts: */
                GtkDialog *account_win = GTK_DIALOG(modest_account_view_window_new ());
                gtk_window_set_transient_for (GTK_WINDOW (account_win), GTK_WINDOW (win));
-               gtk_window_set_modal (GTK_WINDOW (account_win), TRUE);
+               
+               /* Don't make this a modal window, because secondary windows will then 
+                * be unusable, freezing the UI: */
+               /* gtk_window_set_modal (GTK_WINDOW (account_win), TRUE); */
                modest_maemo_show_dialog_and_forget (GTK_WINDOW (win), account_win); 
        }
 #else
                modest_maemo_show_dialog_and_forget (GTK_WINDOW (win), account_win); 
        }
 #else