comparison frontends/sat_bridge_frontend/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 d6c0fe7489af
comparison
equal deleted inserted replaced
118:76055a209ed9 119:ded2431cea5a
37 def register(self, functionName, handler, iface="communication"): 37 def register(self, functionName, handler, iface="communication"):
38 if iface == "communication": 38 if iface == "communication":
39 self.db_comm_iface.connect_to_signal(functionName, handler) 39 self.db_comm_iface.connect_to_signal(functionName, handler)
40 elif iface == "request": 40 elif iface == "request":
41 self.db_req_iface.connect_to_signal(functionName, handler) 41 self.db_req_iface.connect_to_signal(functionName, handler)
42
43 def getVersion(self):
44 return self.db_req_iface.getVersion()
42 45
43 def getProfileName(self, profile_key='@DEFAULT@'): 46 def getProfileName(self, profile_key='@DEFAULT@'):
44 return self.db_req_iface.getProfileName(profile_key) 47 return self.db_req_iface.getProfileName(profile_key)
45 48
46 def getProfilesList(self): 49 def getProfilesList(self):