Enlightenment CVS committal

Author  : davemds
Project : e17
Module  : libs/esmart

Dir     : e17/libs/esmart/src/lib/esmart_container/layout/default


Modified Files:
        default.c 


Log Message:
Delete timer when reach borders

===================================================================
RCS file: 
/cvs/e/e17/libs/esmart/src/lib/esmart_container/layout/default/default.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- default.c   12 Nov 2007 20:58:21 -0000      1.6
+++ default.c   15 Dec 2007 03:30:58 -0000      1.7
@@ -271,11 +271,16 @@
   max_scroll = size - cont->length - pad;
 
   if (cont->scroll.offset < max_scroll)
+  {
     cont->scroll.offset = max_scroll;
-  
+    _default_scroll_stop(cont);
+  } 
   else if (cont->scroll.offset > 0)
+  {
     cont->scroll.offset = 0;
-
+    _default_scroll_stop(cont);
+  }
+    
   _default_layout(cont);
   return 1;
 }



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to