[nautilus] Chain up to the parent handler if we click outside any row.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Chain up to the parent handler if we click outside any row.
- Date: Wed, 7 Oct 2009 13:51:05 +0000 (UTC)
commit 3ef9873b86ec14ccd33680acb232fa0df0eb11ce
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Oct 7 15:49:38 2009 +0200
Chain up to the parent handler if we click outside any row.
By doing so, the tree view widget will gain focus anyway.
Fix bug #589088.
src/file-manager/fm-list-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 9d24916..c20315d 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -757,6 +757,7 @@ button_press_callback (GtkWidget *widget, GdkEventButton *event, gpointer callba
/* Deselect if people click outside any row. It's OK to
let default code run; it won't reselect anything. */
gtk_tree_selection_unselect_all (gtk_tree_view_get_selection (tree_view));
+ tree_view_class->button_press_event (widget, event);
if (event->button == 3) {
do_popup_menu (widget, view, event);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]