From 11ea4b942aa39015ad8838643c8e7e0530376290 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Mon, 14 Jul 2008 18:22:32 +0000 Subject: [PATCH] * Fixes NB#86793, don't loose modality after the close of the old modal window pmo-trunk-r4994 --- src/widgets/modest-window-mgr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/widgets/modest-window-mgr.c b/src/widgets/modest-window-mgr.c index 1fefe35..585d071 100644 --- a/src/widgets/modest-window-mgr.c +++ b/src/widgets/modest-window-mgr.c @@ -1237,6 +1237,10 @@ idle_top_modal (gpointer data) if (topmost) { gdk_threads_enter (); gtk_window_present (topmost); + /* It seems that the window looses modality if some + other is shown on top of it after set_transient_for + and set_parent */ + gtk_window_set_modal (topmost, TRUE); gdk_threads_leave (); } -- 1.7.9.5