comparison frontends/src/primitivus/xmlui.py @ 1473:675e0e9f1653

core , privmitivus (xmlui): add jidInput handling, with a simple String for now
author Goffi <goffi@goffi.org>
date Tue, 18 Aug 2015 10:35:44 +0200
parents 069ad98b360d
children 90130847a0a8
comparison
equal deleted inserted replaced
1472:c005c212b538 1473:675e0e9f1653
98 def _xmluiSetValue(self, value): 98 def _xmluiSetValue(self, value):
99 self.set_edit_text(value) 99 self.set_edit_text(value)
100 100
101 def _xmluiGetValue(self): 101 def _xmluiGetValue(self):
102 return self.get_edit_text() 102 return self.get_edit_text()
103
104
105 class PrimitivusJidInputWidget(xmlui.JidInputWidget, PrimitivusStringWidget):
106 pass
103 107
104 108
105 class PrimitivusPasswordWidget(xmlui.PasswordWidget, sat_widgets.Password, PrimitivusEvents): 109 class PrimitivusPasswordWidget(xmlui.PasswordWidget, sat_widgets.Password, PrimitivusEvents):
106 110
107 def __init__(self, _xmlui_parent, value, read_only=False): 111 def __init__(self, _xmlui_parent, value, read_only=False):