fix text selection when double-clicking quoted text and 'collapse quoted text on...
authorPaul <paul@claws-mail.org>
Thu, 17 Nov 2016 09:46:31 +0000 (09:46 +0000)
committerPaul <paul@claws-mail.org>
Thu, 17 Nov 2016 09:46:31 +0000 (09:46 +0000)
Patch by Andrej

src/textview.c

index c35dbf9..fa2860d 100644 (file)
@@ -2774,9 +2774,11 @@ static gboolean textview_uri_button_pressed(GtkTextTag *tag, GObject *obj,
                        } 
                        return TRUE;
                } else if (qlink && bevent->button == 1) {
-                       if (prefs_common.hide_quoted)
+                       if (prefs_common.hide_quoted) {
                                textview_toggle_quote(textview, NULL, uri, FALSE);
-                       return TRUE;
+                               return TRUE;
+                       } else
+                               return FALSE;
                } else if (!g_ascii_strncasecmp(uri->uri, "mailto:", 7)) {
                        if (bevent->button == 3) {
                                g_object_set_data(