primitivus: implement parameter "Show empty groups"

This commit is contained in:
souliane 2014-10-06 13:54:41 +02:00
commit c850615a2d
2 changed files with 50 additions and 17 deletions

View file

@ -558,6 +558,8 @@ class QuickApp(object):
self.profiles[profile]['watched'] = value.split()
elif (namespace, name) == ('General', C.SHOW_OFFLINE_CONTACTS):
self.contact_list.showOfflineContacts(C.bool(value))
elif (namespace, name) == ('General', C.SHOW_EMPTY_GROUPS):
self.contact_list.showEmptyGroups(C.bool(value))
def contactDeletedHandler(self, jid, profile):
target = JID(jid)

View file

@ -107,3 +107,6 @@ class QuickContactList(object):
def showOfflineContacts(self, show):
pass
def showEmptyGroups(self, show):
pass