Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fileman_smart.c 


Log Message:
- fix scrolling bug that allowed us to scroll even when we shouldnt.


===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_fileman_smart.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- e_fileman_smart.c   23 Oct 2005 16:12:35 -0000      1.54
+++ e_fileman_smart.c   23 Oct 2005 20:45:34 -0000      1.55
@@ -340,7 +340,9 @@
 
    if ((!object) || !(sd = evas_object_smart_data_get(object)))
      return;
-
+   
+   if(sd->max.h <= sd->h) return;
+   
    sd->position = percent;
 
    offsetpx = (percent) * (sd->max.h - sd->h);




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to