diff options
| author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-09-03 15:30:53 -0300 | 
|---|---|---|
| committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-09-03 15:56:30 -0300 | 
| commit | 7511d3ffe98602c979a80972e0ba67b2a0e54310 (patch) | |
| tree | a9dca0bc697201327d0ea47a5e7a2c0cd0c6517d /src | |
| parent | 778798b4cbb297d7cab5a504e79a5b8924939253 (diff) | |
Remove last page from wizard.
Also remove the globe image because is no longer needed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/leap/bitmask/gui/ui/wizard.ui | 91 | ||||
| -rw-r--r-- | src/leap/bitmask/gui/wizard.py | 3 | 
2 files changed, 1 insertions, 93 deletions
| diff --git a/src/leap/bitmask/gui/ui/wizard.ui b/src/leap/bitmask/gui/ui/wizard.ui index 570c01a9..2a412784 100644 --- a/src/leap/bitmask/gui/ui/wizard.ui +++ b/src/leap/bitmask/gui/ui/wizard.ui @@ -740,97 +740,6 @@      </item>     </layout>    </widget> -  <widget class="QWizardPage" name="finish_page"> -   <property name="title"> -    <string>Congratulations!</string> -   </property> -   <property name="subTitle"> -    <string>You have successfully configured Bitmask.</string> -   </property> -   <attribute name="pageId"> -    <string notr="true">6</string> -   </attribute> -   <layout class="QGridLayout" name="gridLayout_10"> -    <item row="1" column="0"> -     <spacer name="horizontalSpacer_4"> -      <property name="orientation"> -       <enum>Qt::Horizontal</enum> -      </property> -      <property name="sizeHint" stdset="0"> -       <size> -        <width>40</width> -        <height>20</height> -       </size> -      </property> -     </spacer> -    </item> -    <item row="0" column="1"> -     <spacer name="verticalSpacer_9"> -      <property name="orientation"> -       <enum>Qt::Vertical</enum> -      </property> -      <property name="sizeHint" stdset="0"> -       <size> -        <width>20</width> -        <height>40</height> -       </size> -      </property> -     </spacer> -    </item> -    <item row="1" column="1"> -     <widget class="QLabel" name="label_23"> -      <property name="text"> -       <string/> -      </property> -      <property name="pixmap"> -       <pixmap resource="../../../../../data/resources/mainwindow.qrc">:/images/mask-icon.png</pixmap> -      </property> -     </widget> -    </item> -    <item row="1" column="2"> -     <widget class="QLabel" name="label_25"> -      <property name="sizePolicy"> -       <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> -        <horstretch>0</horstretch> -        <verstretch>0</verstretch> -       </sizepolicy> -      </property> -      <property name="text"> -       <string/> -      </property> -      <property name="pixmap"> -       <pixmap resource="../../../../../data/resources/mainwindow.qrc">:/images/Globe.png</pixmap> -      </property> -     </widget> -    </item> -    <item row="3" column="1"> -     <spacer name="verticalSpacer_10"> -      <property name="orientation"> -       <enum>Qt::Vertical</enum> -      </property> -      <property name="sizeHint" stdset="0"> -       <size> -        <width>20</width> -        <height>40</height> -       </size> -      </property> -     </spacer> -    </item> -    <item row="1" column="3"> -     <spacer name="horizontalSpacer_5"> -      <property name="orientation"> -       <enum>Qt::Horizontal</enum> -      </property> -      <property name="sizeHint" stdset="0"> -       <size> -        <width>40</width> -        <height>20</height> -       </size> -      </property> -     </spacer> -    </item> -   </layout> -  </widget>   </widget>   <customwidgets>    <customwidget> diff --git a/src/leap/bitmask/gui/wizard.py b/src/leap/bitmask/gui/wizard.py index ac0f032f..e004e6cf 100644 --- a/src/leap/bitmask/gui/wizard.py +++ b/src/leap/bitmask/gui/wizard.py @@ -52,7 +52,6 @@ class Wizard(QtGui.QWizard):      SETUP_PROVIDER_PAGE = 3      REGISTER_USER_PAGE = 4      SERVICES_PAGE = 5 -    FINISH_PAGE = 6      WEAK_PASSWORDS = ("123456", "qweasd", "qwerty",                        "password") @@ -144,7 +143,7 @@ class Wizard(QtGui.QWizard):          self.page(self.REGISTER_USER_PAGE).setButtonText(              QtGui.QWizard.CommitButton, self.tr("&Next >")) -        self.page(self.FINISH_PAGE).setButtonText( +        self.page(self.SERVICES_PAGE).setButtonText(              QtGui.QWizard.FinishButton, self.tr("Connect"))          # XXX: Temporary removal for enrollment policy | 
