Mercurial > libervia-backend
comparison frontends/src/bridge/DBus.py @ 943:71926ec2114d
core (memory): entities cache improvments:
- entities cache is no more limited to bare jid
- resources are now automatically updated in bare jid cache
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 28 Mar 2014 18:07:17 +0100 |
parents | a9401694d2dc |
children | 723f28cd15c7 |
comparison
equal
deleted
inserted
replaced
942:598fc223cf59 | 943:71926ec2114d |
---|---|
159 return unicode(self.db_core_iface.getParamsForCategory(category, security_limit, app, profile_key, reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:]))) | 159 return unicode(self.db_core_iface.getParamsForCategory(category, security_limit, app, profile_key, reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:]))) |
160 | 160 |
161 def getParamsUI(self, security_limit=-1, app='', profile_key="@DEFAULT@", callback=None, errback=None): | 161 def getParamsUI(self, security_limit=-1, app='', profile_key="@DEFAULT@", callback=None, errback=None): |
162 return unicode(self.db_core_iface.getParamsUI(security_limit, app, profile_key, reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:]))) | 162 return unicode(self.db_core_iface.getParamsUI(security_limit, app, profile_key, reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:]))) |
163 | 163 |
164 def getPresenceStatus(self, profile_key="@DEFAULT@"): | 164 def getPresenceStatuses(self, profile_key="@DEFAULT@"): |
165 return self.db_core_iface.getPresenceStatus(profile_key) | 165 return self.db_core_iface.getPresenceStatuses(profile_key) |
166 | 166 |
167 def getProfileName(self, profile_key="@DEFAULT@"): | 167 def getProfileName(self, profile_key="@DEFAULT@"): |
168 return unicode(self.db_core_iface.getProfileName(profile_key)) | 168 return unicode(self.db_core_iface.getProfileName(profile_key)) |
169 | 169 |
170 def getProfilesList(self, ): | 170 def getProfilesList(self, ): |