From d2a49ac17e9b80e2ef4bdc6f150c1a871ebb4f04 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Mon, 13 Jul 2009 11:03:33 +0200 Subject: [PATCH] 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 --- src/hildon2/modest-hildon2-window-mgr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 1.7.9.5