[epiphany/gnome-3-8] ephy-history-view: Call parent class on button release handler



commit d4eae66319827f04a4655df52533d05e9da2b7fb
Author: Daniel Wyatt <Daniel Wyatt gmail com>
Date:   Tue Nov 26 10:14:00 2013 +0000

    ephy-history-view: Call parent class on button release handler
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696653

 lib/widgets/ephy-history-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/widgets/ephy-history-view.c b/lib/widgets/ephy-history-view.c
index 27d45ae..cd22c5e 100644
--- a/lib/widgets/ephy-history-view.c
+++ b/lib/widgets/ephy-history-view.c
@@ -108,6 +108,9 @@ ephy_history_view_button_release (GtkWidget *treeview,
 
   view = EPHY_HISTORY_VIEW (treeview);
 
+  if (event->window != gtk_tree_view_get_bin_window (GTK_TREE_VIEW (treeview)))
+    return GTK_WIDGET_CLASS (ephy_history_view_parent_class)->button_release_event (treeview, event);
+
   if (view->priv->pressed_path && event->button == 2 &&
       gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (treeview),
                                      event->x,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]