comparison frontends/src/bridge/DBus.py @ 1024:7e43ea75cce8

bridge (constructor): fixed D-Bus frontend generator for async method without sig_in + fixed --debug option + regenerated bridge to fix bad frontend D-Bus bridge.
author Goffi <goffi@goffi.org>
date Thu, 15 May 2014 16:35:28 +0200
parents 8bae81e254a2
children 15f43b54d697
comparison
equal deleted inserted replaced
1023:8bae81e254a2 1024:7e43ea75cce8
178 return self.db_core_iface.getProfilesList() 178 return self.db_core_iface.getProfilesList()
179 179
180 def getProgress(self, id, profile): 180 def getProgress(self, id, profile):
181 return self.db_core_iface.getProgress(id, profile) 181 return self.db_core_iface.getProgress(id, profile)
182 182
183 def getReady(self, , callback=None, errback=None): 183 def getReady(self, callback=None, errback=None):
184 return self.db_core_iface.getReady(reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:])) 184 return self.db_core_iface.getReady(reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:]))
185 185
186 def getVersion(self, ): 186 def getVersion(self, ):
187 return unicode(self.db_core_iface.getVersion()) 187 return unicode(self.db_core_iface.getVersion())
188 188