diff src/plugins/deprecated_misc_cs.py @ 968:75f3b3b430ff

tools, frontends, memory: param definition and XMLUI handle multi-selection for list widgets: - we need to update urwid_satext to revision 79 - no more "value" attribute value in the "list" element, use HTML-style "select" attribute in the "option" elements instead - /!\ param saving do not handle multiple values yet!
author souliane <souliane@mailoo.org>
date Tue, 01 Apr 2014 21:21:13 +0200
parents 1fe00f0c9a91
children
line wrap: on
line diff
--- a/src/plugins/deprecated_misc_cs.py	Tue Apr 01 16:27:59 2014 +0200
+++ b/src/plugins/deprecated_misc_cs.py	Tue Apr 01 21:21:13 2014 +0200
@@ -163,7 +163,7 @@
         interface.addText(_("G'day %(name)s, you have %(nb_message)i unread message%(plural_mess)s and %(unread_CR_mess)s unread couch request message%(plural_CR)s\nIf you want to send a message, select the recipient(s) in the list below") % {'name': user_name, 'nb_message': unread_mess, 'plural_mess': 's' if unread_mess > 1 else '', 'unread_CR_mess': unread_CR_mess, 'plural_CR': 's' if unread_CR_mess > 1 else ''})
         if unread_mess:
             interface.addButton('plugin_CS_showUnreadMessages', 'showUnreadMessages', _('Show unread message%(plural)s in external web browser') % {'plural': 's' if unread_mess > 1 else ''})
-        interface.addList(friends_list, 'friends', style=['multi'])
+        interface.addList(friends_list, 'friends', None, style=['multi'])
         interface.changeLayout('pairs')
         interface.addLabel(_("Subject"))
         interface.addString('subject')