Author: damoxc
Revision: 5700
Log:
make sure the value is a float
Diff:
Modified: trunk/deluge/ui/gtkui/preferences.py
===================================================================
--- trunk/deluge/ui/gtkui/preferences.py 2009-08-21 00:50:56 UTC (rev
5699)
+++ trunk/deluge/ui/gtkui/preferences.py 2009-08-21 00:57:08 UTC (rev
5700)
@@ -350,7 +350,7 @@
elif modifier == "not_active":
widget.set_active(not value)
elif modifier == "value":
- widget.set_value(value)
+ widget.set_value(float(value))
elif modifier == "text":
widget.set_text(value)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---