Enlightenment CVS committal

Author  : kiwi
Project : e_modules
Module  : photo

Dir     : e_modules/photo/src/module


Modified Files:
        photo_picture_local.c 


Log Message:
more smooth picture loading

===================================================================
RCS file: /cvs/e/e_modules/photo/src/module/photo_picture_local.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- photo_picture_local.c       23 Sep 2006 11:10:44 -0000      1.8
+++ photo_picture_local.c       24 Sep 2006 03:19:06 -0000      1.9
@@ -314,6 +314,9 @@
 
    DD(("o"));
 
+   /* if the E thumbnailer is too busy, wait */
+   if (pl->thumb.nb >= 2) return 1;
+
    /* no more dirs in the current_dir */
    if (!evas_list_count(pl->loader.dirs))
      {
@@ -378,9 +381,6 @@
    /* no more files in the current loader.dirs item */
    if ( !pl->loader.odir || !(fs = readdir(pl->loader.odir)) )
      {
-        /* if the E thumbnailer is still busy, wait */
-        if (pl->thumb.nb) return 1;
-
         DD(("removing %s", (char *)evas_list_data(pl->loader.dirs)));
         /* go to next dir */
         closedir(pl->loader.odir);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to