quick_frontend, primitivus: fixes typo between method alert and class Alert
This commit is contained in:
parent
269e2a7c8b
commit
4c7e81ad6c
2 changed files with 2 additions and 2 deletions
|
|
@ -153,7 +153,7 @@ class ProfileManager(QuickProfileManager, urwid.WidgetWrap):
|
|||
self.host.redraw()
|
||||
|
||||
def alert(self, title, message):
|
||||
popup = sat_widgets.alert(title, message, ok_cb=self.host.removePopUp)
|
||||
popup = sat_widgets.Alert(title, message, ok_cb=self.host.removePopUp)
|
||||
self.host.showPopUp(popup)
|
||||
|
||||
def onProfileChange(self, list_wid):
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ class QuickProfileManager(object):
|
|||
self._autoconnect = False # manual mode
|
||||
msg = _("Trying to plug an unknown profile key ({})".format(profile_key))
|
||||
log.warning(msg)
|
||||
self.alert(_("Profile plugging in error"), msg, ok_cb=self.host.removePopUp)
|
||||
self.alert(_("Profile plugging in error"), msg)
|
||||
break
|
||||
self.host.launchAction(C.AUTHENTICATE_PROFILE_ID, callback=authenticate_cb, profile=profile)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue