From 7e60664f27f84e5caf4b80c591e03dfefc46d3f3 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 4 Jun 2008 15:36:25 +0000 Subject: [PATCH] * Fixes NB#86208, set the "close all" dialog modal to main window which is presented pmo-trunk-r4607 --- src/widgets/modest-window-mgr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/modest-window-mgr.c b/src/widgets/modest-window-mgr.c index 9e4cbb2..e32ae57 100644 --- a/src/widgets/modest-window-mgr.c +++ b/src/widgets/modest-window-mgr.c @@ -753,8 +753,10 @@ on_window_destroy (ModestWindow *window, if (g_list_length (priv->window_list) > 1) { /* Present the window if it's not visible now */ - if (!gtk_window_has_toplevel_focus (GTK_WINDOW (window))) + if (!gtk_window_has_toplevel_focus (GTK_WINDOW (window))) { gtk_window_present (GTK_WINDOW (window)); + priv->current_top = window; + } /* Create the confirmation dialog MSG-NOT308 */ dialog_response = modest_platform_run_confirmation_dialog ( GTK_WINDOW (window), _("emev_nc_close_windows")); -- 1.7.9.5