~brian.curtin/ubuntuone-control-panel/run-tests-buildout-cleanup

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/qt/controlpanel.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2012-03-30 18:16:33 UTC
  • mfrom: (301.2.9 uninstall)
  • Revision ID: tarmac-20120330181633-7w7lc1q87fdp65tl
- When user rejects the License, also uninstall the application (LP: #968327).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
 
 
 
2
#
3
3
# Copyright 2012 Canonical Ltd.
4
4
#
5
5
# This program is free software: you can redistribute it and/or modify it
174
174
    @log_call(logger.info)
175
175
    def start_from_license(self):
176
176
        """Use the license page as first page."""
177
 
        # license
178
 
        self.ui.wizard.setStartId(self.ui.wizard.pages[
179
 
            self.ui.wizard.license_page])
 
177
        license_id = self.ui.wizard.pages[self.ui.wizard.license_page]
 
178
        self.ui.wizard.setStartId(license_id)
180
179
        self.ui.wizard.restart()