[gtk+] treeview: Run the row dragging gesture on the bubble phase
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Run the row dragging gesture on the bubble phase
- Date: Thu, 4 Sep 2014 13:03:54 +0000 (UTC)
commit bf8f8247606d1de38f33f0f9523af56904200455
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Sep 4 13:55:39 2014 +0200
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
gtk/gtktreeview.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 8cd2cb4..2c9093c 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]