[gtk+] treeview: remove single-click activation from GtkGestureMultiPress::pressed
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: remove single-click activation from GtkGestureMultiPress::pressed
- Date: Fri, 7 Nov 2014 12:51:55 +0000 (UTC)
commit 4df13b7262e3533d93a5c9d6d9fdc7e82a242447
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Nov 6 13:07:05 2014 +0100
treeview: remove single-click activation from GtkGestureMultiPress::pressed
This is already handled in GtkGestureMultiPress::release, and more in
concordance with how it was done pre-gestures.
https://bugzilla.gnome.org/show_bug.cgi?id=737891
gtk/gtktreeview.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 9308028..8c55dac 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -3291,8 +3291,7 @@ gtk_tree_view_multipress_gesture_pressed (GtkGestureMultiPress *gesture,
tree_view->priv->extend_selection_pressed = FALSE;
}
- if (button == GDK_BUTTON_PRIMARY &&
- (n_press == 2 || (n_press == 1 && tree_view->priv->activate_on_single_click)))
+ if (button == GDK_BUTTON_PRIMARY && n_press == 2)
gtk_tree_view_row_activated (tree_view, path, column);
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]