Corrected a bug that prevented sylpheed to open
authorColin Leroy <colin@colino.net>
Fri, 10 May 2002 01:20:28 +0000 (01:20 +0000)
committerColin Leroy <colin@colino.net>
Fri, 10 May 2002 01:20:28 +0000 (01:20 +0000)
double-clicked URIs.

ChangeLog.claws
configure.in
src/textview.c

index afa8b2b40950767d4ee83fdce464b6b94a8e73f2..8589de70e861b0fda0336c6c79a8632ae9d92309 100644 (file)
@@ -1,3 +1,9 @@
+2002-05-10 [colin]     0.7.5claws15
+
+       * src/textview.c
+               Corrected a bug that prevented sylpheed to open
+               double-clicked URIs.
+
 2002-05-09 [paul]      0.7.5claws14
 
        * sync with 0.7.5cvs14
index 3e8ccbed1db8b862e0b42b5b55032b8abf4d2691..9f6efcc245530539408133d18b1378531104936e 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws14
+EXTRA_VERSION=claws15
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 7390889ff80e47320957a8b4b8853fade7b5e19a..f30c0d46eceda0e4453b514fa376637a2dbb0aa9 100644 (file)
@@ -1684,9 +1684,8 @@ static gint textview_button_released(GtkWidget *widget, GdkEventButton *event,
                        if (textview->cur_pos >= uri->start &&
                            textview->cur_pos <  uri->end) {
                                /* single click: display url in statusbar */
-                               if (event->button == 1) {
-                                       if (textview->messageview->mainwin
-                                       && textview->last_buttonpress != GDK_2BUTTON_PRESS) {
+                               if (event->button == 1 && textview->last_buttonpress != GDK_2BUTTON_PRESS) {
+                                       if (textview->messageview->mainwin) {
                                                if (textview->show_url_msgid) {
                                                        gtk_timeout_remove(textview->show_url_timeout_tag);
                                                        gtk_statusbar_remove(GTK_STATUSBAR(