conduit r1908 - in trunk: . conduit/modules
- From: arosenfeld svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1908 - in trunk: . conduit/modules
- Date: Tue, 24 Feb 2009 14:01:21 +0000 (UTC)
Author: arosenfeld
Date: Tue Feb 24 14:01:21 2009
New Revision: 1908
URL: http://svn.gnome.org/viewvc/conduit?rev=1908&view=rev
Log:
2009-02-24 Alexandre Rosenfeld <airmind gmail com>
* conduit/modules/TestModule.py:
Make it not crash the save settings code.
Modified:
trunk/ChangeLog
trunk/conduit/modules/TestModule.py
Modified: trunk/conduit/modules/TestModule.py
==============================================================================
--- trunk/conduit/modules/TestModule.py (original)
+++ trunk/conduit/modules/TestModule.py Tue Feb 24 14:01:21 2009
@@ -168,7 +168,7 @@
config_name = "items",
# The actual value returned from this list would be either True or
# False, but their text would be tst and tst2 respectively
- choices = [(1, "Item with value 1"), (2,"Item with value 2"), 3],
+ choices = [("Value 1", "Item with value 1"), ("Value 2","Item with value 2"), "Value 3"],
)
config.add_item("Password", "text",
config_name = "password",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]