summaryrefslogtreecommitdiff
path: root/src/leap/gui/wizard.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-04-09 00:43:13 +0900
committerkali <kali@leap.se>2013-04-09 00:43:13 +0900
commite75fe6ffd58b067b3fc32196ad245d26a1287e99 (patch)
tree8d8d15f80950fda8b1447c5b9fdab4129a4be0a4 /src/leap/gui/wizard.py
parent22342664951ac32756ceb7ade59ada90f92c8793 (diff)
fixes as per review
Diffstat (limited to 'src/leap/gui/wizard.py')
-rw-r--r--src/leap/gui/wizard.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/leap/gui/wizard.py b/src/leap/gui/wizard.py
index 5742dfef..cc00039b 100644
--- a/src/leap/gui/wizard.py
+++ b/src/leap/gui/wizard.py
@@ -52,6 +52,15 @@ class Wizard(QtGui.QWizard):
BARE_USERNAME_REGEX = r"^[A-Za-z\d_]+$"
def __init__(self, checker, standalone=False):
+ """
+ Constructor for the main Wizard.
+
+ @param checker: Checker thread that the wizard should use.
+ @type checker: CheckerThread
+ @param standalone: If True, the application is running as standalone
+ and the wizard should display some messages according to this.
+ @type standalone: bool
+ """
QtGui.QWizard.__init__(self)
self.standalone = standalone
@@ -67,13 +76,11 @@ class Wizard(QtGui.QWizard):
self.OK_ICON = QtGui.QPixmap(":/images/Dialog-accept.png")
# Correspondence for services and their name to display
- # XXX need to add a note about "requires admin pass" if
- # no polkit found.
EIP_LABEL = self.tr("Encrypted Internet")
if self._is_need_eip_password_warning():
EIP_LABEL += " " + self.tr(
- "(will need admin pass to start)")
+ "(<br>will need admin password to start</br>)")
self.SERVICE_DISPLAY = [
EIP_LABEL