Enlightenment CVS committal

Author  : titan
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_progressbar.c 


Log Message:
Add a bouncy progressbar to ewl!

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_progressbar.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_progressbar.c   1 Apr 2007 21:48:06 -0000       1.17
+++ ewl_progressbar.c   14 May 2007 22:30:00 -0000      1.18
@@ -261,7 +261,8 @@
        value = r->step / (r->max_val - r->min_val);
 
        if (value < 0.01)
-               value = 0.01;
+               ewl_widget_state_set(EWL_WIDGET(c), "range-unknown", 
+                                                       EWL_STATE_PERSISTENT);
 
        ewl_object_preferred_inner_w_set (EWL_OBJECT(c),
                        ewl_object_preferred_w_get(



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to