[Sugar-devel] [PATCH] Fix factor in centimeters unit

godiard at sugarlabs.org godiard at sugarlabs.org
Fri Sep 2 14:31:46 EDT 2011


From: Gonzalo Odiard <godiard at gmail.com>

Signed-off-by: Gonzalo Odiard <gonzalo at laptop.org>
---
 smoot_toolbar.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/smoot_toolbar.py b/smoot_toolbar.py
index 91bc85a..649050c 100644
--- a/smoot_toolbar.py
+++ b/smoot_toolbar.py
@@ -32,7 +32,7 @@ UNITS = [_('meters'), _('centimeters'),
          _('inches'), _('feet'), _('yards'),
          _('custom units')]
 UNIT_DICTIONARY = {METERS: (_('meters'), 1.0),
-                   CENTIMETERS: (_('centimeters'), 10.0),
+                   CENTIMETERS: (_('centimeters'), 100.0),
                    INCHES: (_('inches'), 39.37),
                    FEET: (_('feet'), 3.28),
                    YARDS: (_('yards'), 1.09),
-- 
1.7.4.4



More information about the Sugar-devel mailing list