[anjuta] file-view: Call the tree view button press event method always.
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] file-view: Call the tree view button press event method always.
- Date: Wed, 3 Mar 2010 21:51:09 +0000 (UTC)
commit 535cee30a3f0038dd559b276f83949d8488d0292
Author: Johannes Schmid <jhs gnome org>
Date: Wed Mar 3 22:49:53 2010 +0100
file-view: Call the tree view button press event method always.
Might help to avoid brokeness of tree view expanding.
plugins/file-manager/file-view.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/plugins/file-manager/file-view.c b/plugins/file-manager/file-view.c
index cde5ef4..e2a0052 100644
--- a/plugins/file-manager/file-view.c
+++ b/plugins/file-manager/file-view.c
@@ -299,6 +299,9 @@ file_view_do_popup_menu (GtkWidget* widget, GdkEventButton* event)
static gboolean
file_view_button_press_event (GtkWidget *widget, GdkEventButton *event)
{
+ gint retval =
+ GTK_WIDGET_CLASS (file_view_parent_class)->button_press_event (widget,
+ event);
/* Ignore double-clicks and triple-clicks */
if (event->button == 3 && event->type == GDK_BUTTON_PRESS)
{
@@ -326,9 +329,8 @@ file_view_button_press_event (GtkWidget *widget, GdkEventButton *event)
}
}
- return
- GTK_WIDGET_CLASS (file_view_parent_class)->button_press_event (widget,
- event);
+ return retval;
+
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]