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
This commit is contained in:
Carlos Garnacho 2014-11-06 13:07:05 +01:00
parent 1e3e544bfd
commit 4df13b7262

View File

@ -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
{