Revision: 1393
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1393&view=rev
Author:   nadvornik
Date:     2009-02-15 17:27:48 +0000 (Sun, 15 Feb 2009)

Log Message:
-----------
fixed histogram drawing

Modified Paths:
--------------
    trunk/src/image-overlay.c

Modified: trunk/src/image-overlay.c
===================================================================
--- trunk/src/image-overlay.c   2009-02-15 15:58:01 UTC (rev 1392)
+++ trunk/src/image-overlay.c   2009-02-15 17:27:48 UTC (rev 1393)
@@ -840,7 +840,10 @@
 
        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;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to