aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2007-11-19 07:51:54 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2007-11-19 07:51:54 +0800
commit017dbb24e54f1afe065543ab1d6de5ea9a698be2 (patch)
tree43117cb5e527da471397b0e56f1fa3b09e5d7b2d /lib
parentd0b69001b4244546c0a2f3adf45bb0401b2d7454 (diff)
downloadgsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar
gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.gz
gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.bz2
gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.lz
gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.xz
gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.zst
gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.zip
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
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,