From 54c1457af1288f7a849f888f2af4f484e5e824e4 Mon Sep 17 00:00:00 2001 From: kali Date: Fri, 5 Oct 2012 07:07:03 +0900 Subject: use leap logo --- src/leap/gui/firstrunwizard.py | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'src/leap/gui') diff --git a/src/leap/gui/firstrunwizard.py b/src/leap/gui/firstrunwizard.py index cc70daab..e5a0f074 100755 --- a/src/leap/gui/firstrunwizard.py +++ b/src/leap/gui/firstrunwizard.py @@ -9,10 +9,13 @@ from PyQt4 import QtCore from PyQt4 import QtGui # XXX change and use some other stuff. -import firstrunwizard_rc +from leap.gui import mainwindow_rc +#import firstrunwizard_rc logger = logging.getLogger(__name__) +APP_LOGO = ':/images/leap-color-small.png' + # registration ###################### # move to base/ @@ -157,9 +160,9 @@ class IntroPage(QtGui.QWizardPage): super(IntroPage, self).__init__(parent) self.setTitle("First run wizard.") - self.setPixmap( - QtGui.QWizard.WatermarkPixmap, - QtGui.QPixmap(':/images/watermark1.png')) + #self.setPixmap( + #QtGui.QWizard.WatermarkPixmap, + #QtGui.QPixmap(':/images/watermark1.png')) label = QtGui.QLabel( "Now we will guide you through " @@ -186,7 +189,7 @@ class SelectProviderPage(QtGui.QWizardPage): ) self.setPixmap( QtGui.QWizard.LogoPixmap, - QtGui.QPixmap(':/images/logo1.png')) + QtGui.QPixmap(APP_LOGO)) providerNameLabel = QtGui.QLabel("&Provider:") @@ -222,7 +225,7 @@ class RegisterUserPage(QtGui.QWizardPage): provider) self.setPixmap( QtGui.QWizard.LogoPixmap, - QtGui.QPixmap(':/images/logo2.png')) + QtGui.QPixmap(APP_LOGO)) rememberPasswordCheckBox = QtGui.QCheckBox( "&Remember password.") @@ -346,9 +349,9 @@ class LastPage(QtGui.QWizardPage): super(LastPage, self).__init__(parent) self.setTitle("Ready to go!") - self.setPixmap( - QtGui.QWizard.WatermarkPixmap, - QtGui.QPixmap(':/images/watermark2.png')) + #self.setPixmap( + #QtGui.QWizard.WatermarkPixmap, + #QtGui.QPixmap(':/images/watermark2.png')) self.label = QtGui.QLabel() self.label.setWordWrap(True) -- cgit v1.2.3