projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63da7df
)
fixed histogram drawing
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 15 Feb 2009 17:27:48 +0000
(17:27 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 15 Feb 2009 17:27:48 +0000
(17:27 +0000)
src/image-overlay.c
patch
|
blob
|
history
diff --git
a/src/image-overlay.c
b/src/image-overlay.c
index
dcab2b5
..
4ec66d8
100644
(file)
--- a/
src/image-overlay.c
+++ b/
src/image-overlay.c
@@
-840,7
+840,10
@@
static gint image_osd_update_cb(gpointer data)
if (osd->show & OSD_SHOW_INFO)
{
- if (osd->changed_states & IMAGE_STATE_IMAGE)
+ /* redraw when the image was changed,
+ with histogram we have to redraw also when loading is finished */
+ if (osd->changed_states & IMAGE_STATE_IMAGE ||
+ (osd->changed_states & IMAGE_STATE_LOADING && osd->show & OSD_SHOW_HISTOGRAM))
{
GdkPixbuf *pixbuf;