[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-999-g8561e0a70

paul at claws-mail.org paul at claws-mail.org
Tue Sep 8 14:00:54 CEST 2020


The branch, gtk3 has been updated
       via  8561e0a70434b49dc183d1a58f7848ec9ce68ec2 (commit)
      from  d656a15900e229668eefe9c9806763fd33333e71 (commit)

Summary of changes:
 src/gtk/gtkutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 8561e0a70434b49dc183d1a58f7848ec9ce68ec2
Author: Paul <paul at claws-mail.org>
Date:   Tue Sep 8 13:00:09 2020 +0100

    when fitting image to its max width, take into account the mimeview column

diff --git a/src/gtk/gtkutils.c b/src/gtk/gtkutils.c
index 4f0544560..035584af6 100644
--- a/src/gtk/gtkutils.c
+++ b/src/gtk/gtkutils.c
@@ -1802,7 +1802,7 @@ GdkPixbuf *claws_load_pixbuf_fitting(GdkPixbuf *src_pixbuf, int box_width,
 	w = gdk_pixbuf_get_width(pixbuf);
 	h = gdk_pixbuf_get_height(pixbuf);
 
-	avail_width = box_width;
+	avail_width = box_width-32;
 	avail_height = box_height;
 		
 	if (box_width != -1 && box_height != -1 && avail_width - 100 > 0) {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list