Enlightenment CVS committal
Author : kiwi
Project : e_modules
Module : photo
Dir : e_modules/photo/src/module
Modified Files:
photo_picture_local.c photo_popup_warn.c
Log Message:
its been a long time =)
* fix a bug when restart E while loading
* picture loading is less heavy (load one dir at a time)
===================================================================
RCS file: /cvs/e/e_modules/photo/src/module/photo_picture_local.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- photo_picture_local.c 22 Jul 2006 22:30:52 -0000 1.7
+++ photo_picture_local.c 23 Sep 2006 11:10:44 -0000 1.8
@@ -30,8 +30,8 @@
struct
{
int nb;
- Popup_Warn *popup;
- int popup_show;
+ Popup_Warn *popup;
+ int popup_show;
} thumb;
/* ecore idler to load in background */
@@ -378,6 +378,9 @@
/* 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);
@@ -429,7 +432,7 @@
pl = pictures_local;
rounds = 0;
- while(pl->loader.queue)// && (rounds < 50))
+ while(pl->loader.queue)// && (rounds < 50)) //FIXME
{
file = pl->loader.queue->data;
===================================================================
RCS file: /cvs/e/e_modules/photo/src/module/photo_popup_warn.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- photo_popup_warn.c 7 Jul 2006 17:15:25 -0000 1.1
+++ photo_popup_warn.c 23 Sep 2006 11:10:44 -0000 1.2
@@ -27,6 +27,8 @@
{
Popup_Warn *p;
p = evas_list_data(l);
+ if (p->func_close)
+ p->func_close(p, p->data);
photo_popup_warn_del(p);
}
evas_list_free(_popups_warn);
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs