forked from AuroraMiddleware/gtk
treeview: Run the row dragging gesture on the bubble phase
This is so signal handlers have an opportunity to undo its effect by returning GDK_EVENT_STOP on ::button-press-event, just like they used to do pre-gestures. https://bugzilla.gnome.org/show_bug.cgi?id=735965
This commit is contained in:
parent
6f538950d4
commit
bf8f824760
@ -1846,8 +1846,6 @@ gtk_tree_view_init (GtkTreeView *tree_view)
|
||||
G_CALLBACK (gtk_tree_view_drag_gesture_update), tree_view);
|
||||
g_signal_connect (tree_view->priv->drag_gesture, "drag-end",
|
||||
G_CALLBACK (gtk_tree_view_drag_gesture_end), tree_view);
|
||||
gtk_event_controller_set_propagation_phase (GTK_EVENT_CONTROLLER (tree_view->priv->drag_gesture),
|
||||
GTK_PHASE_CAPTURE);
|
||||
|
||||
tree_view->priv->column_drag_gesture = gtk_gesture_drag_new (GTK_WIDGET (tree_view));
|
||||
g_signal_connect (tree_view->priv->column_drag_gesture, "drag-begin",
|
||||
|
Loading…
Reference in New Issue
Block a user