Enlightenment CVS committal
Author : pfritz
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_progressbar.c
Log Message:
the preferred size should not depend on the current value
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_progressbar.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_progressbar.c 30 Sep 2006 18:41:01 -0000 1.12
+++ ewl_progressbar.c 24 Nov 2006 19:32:59 -0000 1.13
@@ -256,7 +256,7 @@
DCHECK_TYPE("c", c, EWL_CONTAINER_TYPE);
r = EWL_RANGE(c);
- value = r->value / (r->max_val - r->min_val);
+ value = r->step / (r->max_val - r->min_val);
if (value < 0.01)
value = 0.01;
-------------------------------------------------------------------------
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