projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f556a0c
)
when fitting image to its max width, take into account the mimeview column
author
Paul
<paul@claws-mail.org>
Tue, 8 Sep 2020 12:00:09 +0000
(13:00 +0100)
committer
Paul
<paul@claws-mail.org>
Tue, 8 Sep 2020 12:00:09 +0000
(13:00 +0100)
src/gtk/gtkutils.c
patch
|
blob
|
history
diff --git
a/src/gtk/gtkutils.c
b/src/gtk/gtkutils.c
index f09d5a84fd265456d37fa39b4102da88d29eaee2..0e8bf48915f42751e3ad364b74df98aef8377dc1 100644
(file)
--- 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);
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) {
avail_height = box_height;
if (box_width != -1 && box_height != -1 && avail_width - 100 > 0) {