# HG changeset patch # User souliane # Date 1427190402 -3600 # Node ID 3511ff4b40a0d33e6f8f6e527cfb59fc932d76c1 # Parent 1f3513cfb2467ae6167bc984b9d07495bf5174c0 primitivus (contact_list): fixes hide/show disconnected contacts via keyboard shortcut diff -r 1f3513cfb246 -r 3511ff4b40a0 frontends/src/primitivus/contact_list.py --- a/frontends/src/primitivus/contact_list.py Mon Mar 23 15:38:32 2015 +0100 +++ b/frontends/src/primitivus/contact_list.py Tue Mar 24 10:46:42 2015 +0100 @@ -68,7 +68,7 @@ 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()