diff src/tools/xml_tools.py @ 1141:7fcafc3206b1

plugin OTR: authentication management + fixed a bug in setState (due to a wrong docstring in potr.context.getCurrentTrust)
author Goffi <goffi@goffi.org>
date Wed, 27 Aug 2014 00:23:14 +0200
parents 018bdd687747
children 2f9f735334da
line wrap: on
line diff
--- a/src/tools/xml_tools.py	Tue Aug 26 13:33:12 2014 +0200
+++ b/src/tools/xml_tools.py	Wed Aug 27 00:23:14 2014 +0200
@@ -740,9 +740,9 @@
         """
 
         @param xmlui
-        @param options (list[string, tuple]): each option can be given as:
-            - a string if the label and the value are the same
-            - a couple if the label and the value differ
+        @param options (list[option]): each option can be given as:
+            - a single string if the label and the value are the same
+            - a tuple with a couple of string (value,label) if the label and the value differ
         @param selected (list[string]): list of the selected values
         @param style (string)
         @param name (string)