~ubuntu-core-dev/update-manager/main

« back to all changes in this revision

Viewing changes to UpdateManager/UpdateProgress.py

  • Committer: Michael Terry
  • Date: 2012-08-20 02:39:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2538.
  • Revision ID: michael.terry@canonical.com-20120820023919-elft33c5c2mt2eci
add you-stopped-update dialog

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
            allow_sleep(self.sleep_dev, self.sleep_cookie)
73
73
            self.sleep_cookie = self.sleep_dev = None
74
74
 
75
 
        # Either launch main dialog and continue or quit altogether
76
 
        if success:
77
 
            self.window_main.start_available()
78
 
        else:
79
 
            sys.exit(0)
 
75
        self.window_main.start_available(not success)
80
76
 
81
77
    def main(self):
82
78
        self.invoke_manager()