Enlightenment CVS committal
Author : kiwi
Project : e_modules
Module : photo
Dir : e_modules/photo/src/module
Modified Files:
photo_picture_histo.c
Log Message:
avoid multiple use of one picture when selecting in historic list
===================================================================
RCS file: /cvs/e/e_modules/photo/src/module/photo_picture_histo.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- photo_picture_histo.c 7 Jul 2006 20:04:16 -0000 1.2
+++ photo_picture_histo.c 11 Jul 2006 07:01:11 -0000 1.3
@@ -82,8 +82,14 @@
picture = evas_list_nth(pi->histo.list, new_pos);
if (picture)
- pi->histo.pos = new_pos;
- else
+ {
+ if (!picture->pi && !picture->delete_me)
+ pi->histo.pos = new_pos;
+ else
+ picture = NULL;
+ }
+
+ if (!picture)
DPIC(("HISTO change FAILED !!"));
return picture;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs