From 6d51b035c0de4047913c39cef0db7b1792df2cd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergio=20Villar=20Sen=C3=ADn?= Date: Tue, 12 May 2009 10:59:13 +0200 Subject: [PATCH] Fixes NB#116113, there are no standalone editors/viewers in Fremantle, always show window stacks --- src/hildon2/modest-hildon2-window-mgr.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hildon2/modest-hildon2-window-mgr.c b/src/hildon2/modest-hildon2-window-mgr.c index 406afa7..5d8d156 100644 --- a/src/hildon2/modest-hildon2-window-mgr.c +++ b/src/hildon2/modest-hildon2-window-mgr.c @@ -472,6 +472,12 @@ modest_hildon2_window_mgr_register_window (ModestWindowMgr *self, return FALSE; } + /* Do not allow standalone editors or standalone viewers */ + if (!current_top && + (MODEST_IS_MSG_VIEW_WINDOW (window) || + MODEST_IS_MSG_EDIT_WINDOW (window))) + modest_window_mgr_show_initial_window (self); + if (MODEST_IS_MSG_VIEW_WINDOW (window)) { gchar *uid; TnyHeader *header; -- 1.7.9.5