changeset 1387:3511ff4b40a0

primitivus (contact_list): fixes hide/show disconnected contacts via keyboard shortcut
author souliane <souliane@mailoo.org>
date Tue, 24 Mar 2015 10:46:42 +0100
parents 1f3513cfb246
children a025242bebe7
files frontends/src/primitivus/contact_list.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()