diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-11-06 13:07:05 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-11-07 13:49:43 +0100 |
commit | 4df13b7262e3533d93a5c9d6d9fdc7e82a242447 (patch) | |
tree | 6cfd659d42df6749057e7b81ed9e05e85ca0933c /gtk/gtktreeview.c | |
parent | 1e3e544bfd815419d3858c036cc3201b9c86eda4 (diff) | |
download | gtk+-4df13b7262e3533d93a5c9d6d9fdc7e82a242447.tar.gz |
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
Diffstat (limited to 'gtk/gtktreeview.c')
-rw-r--r-- | gtk/gtktreeview.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 9308028468..8c55dacda9 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 { |