projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes NB#125952, modality issue when trying to open a new editor after the "lose...
[modest]
/
src
/
hildon2
/
modest-hildon2-window-mgr.c
diff --git
a/src/hildon2/modest-hildon2-window-mgr.c
b/src/hildon2/modest-hildon2-window-mgr.c
index
3922dd6
..
21f35e8
100644
(file)
--- 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;