comparison sat_bridge/DBus.py @ 119:ded2431cea5a

Primitivus: chat window / text sending. Primitivus has now the most basics features \o/ - core: new getVersion method - primitivus: new debug key (C-d), only work if SàT is in dev version (D in version) - quick_app: new post_init method, used for automatique task like auto-plug - primitivus: lists now use genericList (Box) or List (Flow) - primitivus: List now manage correctly its size - primitivus: new FocusFrame widget which manage focus changing with 'tab' - primitivus: advancedEdit now manage 'click' signal - primitivus: contactList now manager 'change' and 'click' signals - primitivus: Chat window now working
author Goffi <goffi@goffi.org>
date Mon, 05 Jul 2010 19:13:36 +0800
parents d2630fba8dfd
children 2240f34f6452
comparison
equal deleted inserted replaced
118:76055a209ed9 119:ded2431cea5a
103 def updatedValue(self, name, value): 103 def updatedValue(self, name, value):
104 debug("updated value: %s = %s", name, value) 104 debug("updated value: %s = %s", name, value)
105 105
106 ### methods ### 106 ### methods ###
107 107
108
109 @dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX,
110 in_signature='', out_signature='s')
111 def getVersion(self):
112 return self.cb["getVersion"]()
113
108 @dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX, 114 @dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX,
109 in_signature='s', out_signature='s') 115 in_signature='s', out_signature='s')
110 def getProfileName(self, profile_key): 116 def getProfileName(self, profile_key):
111 return self.cb["getProfileName"](profile_key) 117 return self.cb["getProfileName"](profile_key)
112 118