projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9be75e3
)
Bug fix: Marks checkboxes in iconview
author
Tomasz Golinski
<tomaszg@math.uwb.edu.pl>
Sat, 16 Sep 2017 19:12:22 +0000
(20:12 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Sat, 16 Sep 2017 19:12:22 +0000
(20:12 +0100)
The width of the marks checkboxes was not taken into account in icon view mode
src/view_file/view_file_icon.c
patch
|
blob
|
history
diff --git
a/src/view_file/view_file_icon.c
b/src/view_file/view_file_icon.c
index
b60074c
..
b612e7d
100644
(file)
--- a/
src/view_file/view_file_icon.c
+++ b/
src/view_file/view_file_icon.c
@@
-191,7
+191,7
@@
static gint vficon_get_icon_width(ViewFile *vf)
{
gint width;
- if (!VFICON(vf)->show_text) return options->thumbnails.max_width;
+ if (!VFICON(vf)->show_text
&& !vf->marks_enabled
) return options->thumbnails.max_width;
width = options->thumbnails.max_width + options->thumbnails.max_width / 2;
if (width < THUMB_MIN_ICON_WIDTH) width = THUMB_MIN_ICON_WIDTH;