From ea3deadc9da6039595ea0a1c25e16c508959ef33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergio=20Villar=20Sen=C3=ADn?= Date: Mon, 25 Jan 2010 12:47:01 +0100 Subject: [PATCH 1/1] Fixes a wrong condition --- src/hildon2/modest-hildon2-window-mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hildon2/modest-hildon2-window-mgr.c b/src/hildon2/modest-hildon2-window-mgr.c index a24f2ad..6ebd0c3 100644 --- a/src/hildon2/modest-hildon2-window-mgr.c +++ b/src/hildon2/modest-hildon2-window-mgr.c @@ -592,7 +592,7 @@ modest_hildon2_window_mgr_register_window (ModestWindowMgr *self, } /* Show toolbar always */ - if (MODEST_MSG_EDIT_WINDOW (window)) { + if (MODEST_IS_MSG_EDIT_WINDOW (window)) { gboolean show_toolbar; show_toolbar = modest_conf_get_bool (modest_runtime_get_conf (), MODEST_CONF_EDIT_WINDOW_SHOW_TOOLBAR, NULL); modest_window_show_toolbar (window, show_toolbar); -- 1.7.9.5