Mercurial > libervia-backend
changeset 1324:948dc273ad93 frontends_multi_profiles
quick_frontend, primitivus: fixes typo between method alert and class Alert
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 21 Feb 2015 12:34:48 +0100 |
parents | a599b6a70dc0 |
children | 49f967fc87aa |
files | frontends/src/primitivus/profile_manager.py frontends/src/quick_frontend/quick_profile_manager.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/primitivus/profile_manager.py Fri Feb 20 22:06:13 2015 +0100 +++ b/frontends/src/primitivus/profile_manager.py Sat Feb 21 12:34:48 2015 +0100 @@ -153,7 +153,7 @@ 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):
--- a/frontends/src/quick_frontend/quick_profile_manager.py Fri Feb 20 22:06:13 2015 +0100 +++ b/frontends/src/quick_frontend/quick_profile_manager.py Sat Feb 21 12:34:48 2015 +0100 @@ -113,7 +113,7 @@ 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)