Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_profile_manager.py @ 2146:1bb9bf1b4150
core, frontends: getProfilesList renamed to profilesGetList + behaviour change:
- profilesGetList now handles clients and components boolean arguments, to filter profiles
- jp: added --clients and --components options to profile/list
- profilesGetList now returns sorted profiles
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Feb 2017 19:08:52 +0100 |
parents | 1d3f73e065e1 |
children | 255830fdb80b |
comparison
equal
deleted
inserted
replaced
2145:33c8c4973743 | 2146:1bb9bf1b4150 |
---|---|
200 self.setJID("") | 200 self.setJID("") |
201 self.setPassword("") | 201 self.setPassword("") |
202 | 202 |
203 def refillProfiles(self): | 203 def refillProfiles(self): |
204 """Rebuild the list of profiles""" | 204 """Rebuild the list of profiles""" |
205 profiles = self.host.bridge.getProfilesList() | 205 profiles = self.host.bridge.profilesListGet() |
206 profiles.sort() | 206 profiles.sort() |
207 self.setProfiles(profiles) | 207 self.setProfiles(profiles) |
208 | 208 |
209 ## Method which must be implemented by frontends ## | 209 ## Method which must be implemented by frontends ## |
210 | 210 |