Fixes NB#139196, CSM menus shown when tap-and-hold over blank view
authorSergio Villar Senin <svillar@igalia.com>
Wed, 30 Sep 2009 16:58:30 +0000 (18:58 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Fri, 16 Oct 2009 15:21:54 +0000 (17:21 +0200)
src/hildon2/modest-header-window.c

index 6490842..f15ecc2 100644 (file)
@@ -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;
                }
        }