[gedit] Chain up in the button press event



commit 2862dced052f8bc2ce93d541a652fec0fbaaf41a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Dec 8 18:28:59 2011 +0100

    Chain up in the button press event

 gedit/gedit-notebook.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-notebook.c b/gedit/gedit-notebook.c
index ae68117..1f2d9cb 100644
--- a/gedit/gedit-notebook.c
+++ b/gedit/gedit-notebook.c
@@ -261,13 +261,13 @@ gedit_notebook_button_press (GtkWidget *widget,
 	    event->button != 3 ||
 	    (event->state & gtk_accelerator_get_default_mod_mask ()) != 0)
 	{
-		return FALSE;
+		return GTK_WIDGET_CLASS (gedit_notebook_parent_class)->button_press_event (widget, event);
 	}
 
 	tab_clicked = find_tab_num_at_pos (nb, event->x_root, event->y_root);
 	if (tab_clicked < 0)
 	{
-		return FALSE;
+		return GTK_WIDGET_CLASS (gedit_notebook_parent_class)->button_press_event (widget, event);
 	}
 
 	/* switch to the page the mouse is over */



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