* src/maemo/modest-platform.c:
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 21 May 2008 17:06:18 +0000 (17:06 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 21 May 2008 17:06:18 +0000 (17:06 +0000)
        * (modest_platform_run_information_dialog): if we want an
          information dialog without blocking then we don't set modality
          because this way non parented dialogs are shown in their
          expected place (fixes NB#85528).

pmo-trunk-r4556

src/maemo/modest-platform.c

index 7f3f6b2..400e273 100644 (file)
@@ -1051,8 +1051,9 @@ modest_platform_run_information_dialog (GtkWindow *parent_window,
        GtkWidget *note;
        
        note = hildon_note_new_information (parent_window, message);
-       modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),
-                                    GTK_WINDOW (note));
+       if (block)
+               modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),
+                                            GTK_WINDOW (note));
        
        if (block) {
                gtk_dialog_run (GTK_DIALOG (note));