comparison frontends/src/quick_frontend/quick_profile_manager.py @ 1337:f29beedb33b0 frontends_multi_profiles

merged souliane changes
author Goffi <goffi@goffi.org>
date Mon, 23 Feb 2015 18:08:22 +0100
parents 948dc273ad93
children 069ad98b360d
comparison
equal deleted inserted replaced
1336:2ecc07a8f91b 1337:f29beedb33b0
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):