comparison frontends/src/quick_frontend/quick_profile_manager.py @ 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 7cf32aeeebdb
children 069ad98b360d
comparison
equal deleted inserted replaced
1323:a599b6a70dc0 1324:948dc273ad93
111 profile = self.host.bridge.getProfileName(profile_key) 111 profile = self.host.bridge.getProfileName(profile_key)
112 if not profile: 112 if not profile:
113 self._autoconnect = False # manual mode 113 self._autoconnect = False # manual mode
114 msg = _("Trying to plug an unknown profile key ({})".format(profile_key)) 114 msg = _("Trying to plug an unknown profile key ({})".format(profile_key))
115 log.warning(msg) 115 log.warning(msg)
116 self.alert(_("Profile plugging in error"), msg, ok_cb=self.host.removePopUp) 116 self.alert(_("Profile plugging in error"), msg)
117 break 117 break
118 self.host.launchAction(C.AUTHENTICATE_PROFILE_ID, callback=authenticate_cb, profile=profile) 118 self.host.launchAction(C.AUTHENTICATE_PROFILE_ID, callback=authenticate_cb, profile=profile)
119 119
120 120
121 def getParamError(self, dummy): 121 def getParamError(self, dummy):