From: Sergio Villar Senin Date: Wed, 30 Sep 2009 16:58:30 +0000 (+0200) Subject: Fixes NB#139196, CSM menus shown when tap-and-hold over blank view X-Git-Tag: jdapena-ppa-3.90.4-modest0~377 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=cbd29fd374698e26afcc4e7cf99ee77b0987f5d7 Fixes NB#139196, CSM menus shown when tap-and-hold over blank view --- 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; } }