changeset 124:7f7f3b8eb154

profile manager: fixed profilesListGet bridge call following name change in bridge
author Goffi <goffi@goffi.org>
date Thu, 23 Feb 2017 07:30:37 +0100
parents e89350dd3eca
children b6e6afb0dc46
files src/cagou/core/profile_manager.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cagou/core/profile_manager.py	Sun Feb 05 20:44:01 2017 +0100
+++ b/src/cagou/core/profile_manager.py	Thu Feb 23 07:30:37 2017 +0100
@@ -145,7 +145,7 @@
         self.layout.add_widget(connect_btn)
         self.reload()
 
-    def _getProfilesListCb(self, profiles):
+    def _profilesListGetCb(self, profiles):
         profiles.sort()
         self.list_adapter.data = profiles
 
@@ -156,7 +156,7 @@
 
     def reload(self):
         """Reload profiles list"""
-        G.host.bridge.getProfilesList(callback=self._getProfilesListCb)
+        G.host.bridge.profilesListGet(callback=self._profilesListGetCb)
 
 
 class ProfileManager(QuickProfileManager, BoxLayout):