backend: - bridge async D-Bus method now automatically manage callback and errback, we just have to return a deferred
- getParams, getParamsForCategory and getParamsUI are now asynchronous primitivus: management of asynchronous getParamsUI
This commit is contained in:
parent
8ac5759a5f
commit
19232e8a6b
1 changed files with 250 additions and 166 deletions
|
|
@ -148,5 +148,6 @@ class ProfileManager(urwid.WidgetWrap):
|
|||
self.host.bridge.setParam("Password", new_pass, "Connection", profile)
|
||||
self.host.plug_profile(profile)
|
||||
|
||||
def getParamError(self):
|
||||
error(_("Can't get profile parameter"))
|
||||
def getParamError(self, ignore):
|
||||
popup = Alert("Error", _("Can't get profile parameter"), ok_cb=self.host.removePopUp)
|
||||
self.host.showPopUp(popup)
|
||||
|
|
|
|||
Loading…
Reference in a new issue