[gtk/matthiasc/for-master: 4/5] textview: Make clickable tags work again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 4/5] textview: Make clickable tags work again
- Date: Thu, 17 Sep 2020 02:32:14 +0000 (UTC)
commit 25d30011a0cf8bf08d39f0c92d0e5b7446ce26e4
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Sep 16 22:30:58 2020 -0400
textview: Make clickable tags work again
We were claiming the clicks too eagerly, preventing
clickable links, e.g. in GtkAboutDialog, from working.
gtk/gtktextview.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index dc8d3c9682..add51f814f 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -7466,8 +7466,8 @@ gtk_text_view_start_selection_drag (GtkTextView *text_view,
g_object_set_qdata_full (G_OBJECT (priv->drag_gesture),
quark_text_selection_data,
data, (GDestroyNotify) selection_data_free);
- gtk_gesture_set_state (priv->drag_gesture,
- GTK_EVENT_SEQUENCE_CLAIMED);
+// gtk_gesture_set_state (priv->drag_gesture,
+// GTK_EVENT_SEQUENCE_CLAIMED);
}
/* returns whether we were really dragging */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]