From b0b3f61777a264f53c73e7eeca7033b855fa2743 Mon Sep 17 00:00:00 2001 From: kali Date: Fri, 1 Feb 2013 00:49:10 +0900 Subject: add watermark image to wizard --- src/leap/gui/firstrun/last.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/leap/gui/firstrun/last.py') diff --git a/src/leap/gui/firstrun/last.py b/src/leap/gui/firstrun/last.py index f3e467db..6a01ba34 100644 --- a/src/leap/gui/firstrun/last.py +++ b/src/leap/gui/firstrun/last.py @@ -6,7 +6,7 @@ import logging from PyQt4 import QtGui from leap.util.coroutines import coroutine -from leap.gui.constants import APP_LOGO +from leap.gui.constants import APP_LOGO, APP_WATERMARK logger = logging.getLogger(__name__) @@ -18,14 +18,14 @@ class LastPage(QtGui.QWizardPage): self.setTitle(self.tr( "Connecting to Encrypted Internet Proxy service...")) + self.setPixmap( + QtGui.QWizard.WatermarkPixmap, + QtGui.QPixmap(APP_WATERMARK)) + self.setPixmap( QtGui.QWizard.LogoPixmap, QtGui.QPixmap(APP_LOGO)) - #self.setPixmap( - #QtGui.QWizard.WatermarkPixmap, - #QtGui.QPixmap(':/images/watermark2.png')) - self.label = QtGui.QLabel() self.label.setWordWrap(True) -- cgit v1.2.3