[Commits] [SCM] claws branch, master, updated. 3.17.6-15-gc2d5196c2

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


The branch, master has been updated
       via  c2d5196c26dea84b69ffe0c8661f8597e200f7d3 (commit)
      from  f556a0c5b0b9d3bf90e89994fb23e72ea259611c (commit)

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


- Log -----------------------------------------------------------------
commit c2d5196c26dea84b69ffe0c8661f8597e200f7d3
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 f09d5a84f..0e8bf4891 100644
--- a/src/gtk/gtkutils.c
+++ b/src/gtk/gtkutils.c
@@ -1775,7 +1775,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