From 017dbb24e54f1afe065543ab1d6de5ea9a698be2 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sun, 18 Nov 2007 23:51:54 +0000 Subject: Fix a bug in EphyNodeView which caused weird problems when setting columns as resizable; thanks to Kristian Rietveld for finding out the cause. Make history window columns resizable and bookmarks editor columns resizable and sortable. Part of bug #132808. svn path=/trunk/; revision=7718 --- lib/widgets/ephy-node-view.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') 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, -- cgit v1.2.3