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
This commit is contained in:
Goffi 2017-02-12 19:08:52 +01:00
commit 85f3bd5988

View file

@ -37,7 +37,7 @@ class ProfileManager(QuickProfileManager, urwid.WidgetWrap):
self.pass_wid = sat_widgets.Password(_('Password:'), align='center')
style = ['no_first_select']
profiles = host.bridge.getProfilesList()
profiles = host.bridge.profilesListGet()
profiles.sort()
self.list_profile = sat_widgets.List(profiles, style=style, align='center', on_change=self.onProfileChange)