aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-node-view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c
index be95c0a1e..c32e1bd8e 100644
--- a/lib/widgets/ephy-node-view.c
+++ b/lib/widgets/ephy-node-view.c
@@ -811,6 +811,11 @@ ephy_node_view_button_press_cb (GtkWidget *treeview,
GtkTreeSelection *selection;
gboolean call_parent = TRUE, path_is_selected;
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));
+
+ if (event->window != gtk_tree_view_get_bin_window (GTK_TREE_VIEW (treeview)))
+ {
+ return GTK_WIDGET_CLASS (parent_class)->button_press_event (treeview, event);
+ }
if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (treeview),
event->x,