From cbd29fd374698e26afcc4e7cf99ee77b0987f5d7 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 30 Sep 2009 18:58:30 +0200 Subject: [PATCH] Fixes NB#139196, CSM menus shown when tap-and-hold over blank view --- src/hildon2/modest-header-window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hildon2/modest-header-window.c b/src/hildon2/modest-header-window.c index 6490842..f15ecc2 100644 --- a/src/hildon2/modest-header-window.c +++ b/src/hildon2/modest-header-window.c @@ -478,6 +478,9 @@ tap_and_hold_query_cb (GtkWidget *header_view, gtk_widget_hide (mark_unread_item); } g_object_unref (header); + } else { + /* Do not show the CSM if there is no header below */ + return TRUE; } } -- 1.7.9.5