From: Sergio Villar Senin Date: Mon, 13 Jul 2009 09:03:33 +0000 (+0200) Subject: Fixes NB#125952, modality issue when trying to open a new editor after the "lose... X-Git-Tag: 3.0.17-rc23~9 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=d2a49ac17e9b80e2ef4bdc6f150c1a871ebb4f04 Fixes NB#125952, modality issue when trying to open a new editor after the "lose changes" modal dialog in the easysetup wizard is shown as a result of opening and closing the providers picker dialog --- diff --git a/src/hildon2/modest-hildon2-window-mgr.c b/src/hildon2/modest-hildon2-window-mgr.c index 3922dd6..21f35e8 100644 --- a/src/hildon2/modest-hildon2-window-mgr.c +++ b/src/hildon2/modest-hildon2-window-mgr.c @@ -862,7 +862,8 @@ look_for_transient (gconstpointer a, child = (GtkWindow *) b; win = (GtkWindow *) a; - if (gtk_window_get_transient_for (win) == child) + if ((gtk_window_get_transient_for (win) == child) && + GTK_WIDGET_VISIBLE (win)) return 0; else return 1;