primitivus (contact_list): fixes hide/show disconnected contacts via keyboard shortcut
This commit is contained in:
parent
5c1fe63580
commit
1a03845539
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class ContactList(PrimitivusWidget, QuickContactList):
|
|||
self.show_status = not self.show_status
|
||||
self.update()
|
||||
elif key == a_key['DISCONNECTED_HIDE']: #user wants to (un)hide disconnected contacts
|
||||
self.host.bridge.setParam(C.SHOW_OFFLINE_CONTACTS, C.str(not self.show_disconnected), "General", profile_key=self.profile)
|
||||
self.host.bridge.setParam(C.SHOW_OFFLINE_CONTACTS, C.boolConst(not self.show_disconnected), "General", profile_key=self.profile)
|
||||
elif key == a_key['RESOURCES_HIDE']: #user wants to (un)hide contacts resources
|
||||
self.showResources(not self.show_resources)
|
||||
self.update()
|
||||
|
|
|
|||
Loading…
Reference in a new issue