summaryrefslogtreecommitdiff
path: root/src/leap/gui
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-09 00:44:21 +0900
committerkali <kali@leap.se>2013-01-09 00:44:21 +0900
commitfe794fbf9248fcf9d097eded799248ef265e24ad (patch)
tree578387753d2ff660daa37b9b9b5a993fcca82806 /src/leap/gui
parent8fb39dd87db76bd4450e0137f34d7d0ee66de935 (diff)
wrap provider info
Diffstat (limited to 'src/leap/gui')
-rw-r--r--src/leap/gui/firstrun/providerinfo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/gui/firstrun/providerinfo.py b/src/leap/gui/firstrun/providerinfo.py
index c5b2984c..248267ff 100644
--- a/src/leap/gui/firstrun/providerinfo.py
+++ b/src/leap/gui/firstrun/providerinfo.py
@@ -62,6 +62,7 @@ class ProviderInfoPage(QtGui.QWizardPage):
# this should be better handled with signals !!
self.displayName = displayName
self.description = description
+ self.description.setWordWrap(True)
self.enrollment_policy = enrollment_policy
def show_provider_info(self):
@@ -72,7 +73,7 @@ class ProviderInfoPage(QtGui.QWizardPage):
lang = "en"
pconfig = self.wizard().providerconfig
- dn = pconfig.get('display_name')
+ dn = pconfig.get('name')
display_name = dn[lang] if dn else ''
domain_name = self.field('provider_domain')