Mercurial > libervia-backend
comparison frontends/src/bridge/DBus.py @ 399:3ed53803b3b3
core: added getLastResource method
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Oct 2011 21:16:03 +0200 |
parents | e66d300c5d42 |
children | b2caa2615c4c |
comparison
equal
deleted
inserted
replaced
398:cb0285372818 | 399:3ed53803b3b3 |
---|---|
90 return self.db_core_iface.getContacts(profile_key) | 90 return self.db_core_iface.getContacts(profile_key) |
91 | 91 |
92 def getHistory(self, from_jid, to_jid, size): | 92 def getHistory(self, from_jid, to_jid, size): |
93 return self.db_core_iface.getHistory(from_jid, to_jid, size) | 93 return self.db_core_iface.getHistory(from_jid, to_jid, size) |
94 | 94 |
95 def getLastResource(self, contact_jid, profile_key="@DEFAULT@"): | |
96 return unicode(self.db_core_iface.getLastResource(contact_jid, profile_key)) | |
97 | |
95 def getMenuHelp(self, category, name, menu_type): | 98 def getMenuHelp(self, category, name, menu_type): |
96 return unicode(self.db_core_iface.getMenuHelp(category, name, menu_type)) | 99 return unicode(self.db_core_iface.getMenuHelp(category, name, menu_type)) |
97 | 100 |
98 def getMenus(self, ): | 101 def getMenus(self, ): |
99 return self.db_core_iface.getMenus() | 102 return self.db_core_iface.getMenus() |