* Fixes NB#86793, don't loose modality after the close of the old modal window
[modest] / src / widgets / modest-window-mgr.c
index 1fefe35..585d071 100644 (file)
@@ -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 ();
        }