From 74b022b1d7f6256bc6d61f040ee97580fa67b8af Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Sat, 17 Jul 2004 23:26:36 +0000 Subject: [PATCH] fix 535 (uri not selectable) --- ChangeLog-gtk2.claws | 7 +++++++ PATCHSETS | 1 + configure.ac | 2 +- src/textview.c | 3 +-- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog-gtk2.claws b/ChangeLog-gtk2.claws index 855ca8f83..53f8d07c9 100644 --- a/ChangeLog-gtk2.claws +++ b/ChangeLog-gtk2.claws @@ -1,3 +1,10 @@ +2004-07-18 [colin] 0.9.12cvs31.2 + + * src/textview.c + return FALSE on GDK_MOTION_NOTIFY + (Fix Bug 535 Hyperlinks/addresses are not selectable + (unable to highlight)) + 2004-07-18 [colin] 0.9.12cvs31.1 * src/folderview.c diff --git a/PATCHSETS b/PATCHSETS index d79f89fb8..0ef7181ed 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -38,3 +38,4 @@ ( cvs diff -u -r 1.382.2.22 -r 1.382.2.23 src/compose.c; ) > 0.9.12cvs30.3.patchset ( cvs diff -u -r 1.207.2.8 -r 1.207.2.9 src/folderview.c; ) > 0.9.12cvs31.1.patchset +( cvs diff -u -r 1.96.2.11 -r 1.96.2.12 src/textview.c; ) > 0.9.12cvs31.2.patchset diff --git a/configure.ac b/configure.ac index b96af72eb..d8bcfa510 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ INTERFACE_AGE=0 BINARY_AGE=0 EXTRA_VERSION=31 EXTRA_RELEASE= -EXTRA_GTK2_VERSION=.1 +EXTRA_GTK2_VERSION=.2 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION} diff --git a/src/textview.c b/src/textview.c index a177f3cf2..3de317a17 100644 --- a/src/textview.c +++ b/src/textview.c @@ -1870,7 +1870,6 @@ static gboolean textview_uri_button_pressed(GtkTextTag *tag, GObject *obj, GdkEventButton *bevent; GSList *cur; gchar *trimmed_uri; - if (event->type != GDK_BUTTON_PRESS && event->type != GDK_2BUTTON_PRESS && event->type != GDK_MOTION_NOTIFY) return FALSE; @@ -1909,7 +1908,7 @@ static gboolean textview_uri_button_pressed(GtkTextTag *tag, GObject *obj, textview->show_url_timeout_tag = gtk_timeout_add (4000, show_url_timeout_cb, textview); } - return TRUE; + return FALSE; } /* doubleclick: open compose / add address / browser */ if ((event->type == GDK_2BUTTON_PRESS && bevent->button == 1) || -- 2.25.1