[Commits] [SCM] claws branch, master, updated. 3.18.0-132-gcfe830d7a

wwp at claws-mail.org wwp at claws-mail.org
Wed Sep 15 11:27:13 CEST 2021


The branch, master has been updated
       via  cfe830d7a49256c19a73ead62a6b15e74385f7ab (commit)
      from  7587240124edf121c3b1f450f0a9d33d2741223c (commit)

Summary of changes:
 src/mimeview.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit cfe830d7a49256c19a73ead62a6b15e74385f7ab
Author: wwp <subscript at free.fr>
Date:   Wed Sep 15 11:21:51 2021 +0200

    Fix scrolling in a message's attachments bar (scrolling left or right
    were scrolling down).

diff --git a/src/mimeview.c b/src/mimeview.c
index f91ea146f..a57b061fe 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -1529,9 +1529,10 @@ static gboolean mimeview_scrolled(GtkWidget *widget, GdkEventScroll *event,
 	GtkVScrollbutton *scrollbutton = (GtkVScrollbutton *)mimeview->scrollbutton;
 	if (event->direction == GDK_SCROLL_UP) {
 		scrollbutton->scroll_type = GTK_SCROLL_STEP_BACKWARD;
-	} else {
+	} else if (event->direction == GDK_SCROLL_DOWN) {
 		scrollbutton->scroll_type = GTK_SCROLL_STEP_FORWARD;
-	}
+	} else
+        return FALSE; /* Scrolling left or right */
 	gtk_vscrollbutton_scroll(scrollbutton);
 	return TRUE;
 }

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list