projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b1e1809
)
* Fixes NB#86208, set the "close all" dialog modal to main window which is presented
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 4 Jun 2008 15:36:25 +0000
(15:36 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 4 Jun 2008 15:36:25 +0000
(15:36 +0000)
pmo-trunk-r4607
src/widgets/modest-window-mgr.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-window-mgr.c
b/src/widgets/modest-window-mgr.c
index
9e4cbb2
..
e32ae57
100644
(file)
--- 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 (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));
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"));
/* Create the confirmation dialog MSG-NOT308 */
dialog_response = modest_platform_run_confirmation_dialog (
GTK_WINDOW (window), _("emev_nc_close_windows"));