~seb128/update-manager/correct-icon-theme

« back to all changes in this revision

Viewing changes to UpdateManager/UpdateManager.py

  • Committer: Marc Deslauriers
  • Date: 2014-01-16 00:25:38 UTC
  • Revision ID: marc.deslauriers@canonical.com-20140116002538-ghaxkthqqph0n0ai
Tags: 1:0.196.6
* Allow user to close the restart required dialog (LP: #1033226)
  - Add a settings button
  - Add a "Restart Later" button
  - Rename existing button to "Restart Now..."
  - Add secondary text to updates dialog when a restart is still pending
    from last updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
                header = _("You stopped the check for updates.")
248
248
                desc = _("Updated software is available from "
249
249
                         "a previous check.")
250
 
            return UpdatesAvailable(self, header, desc)
 
250
            return UpdatesAvailable(self, header, desc, need_reboot)
251
251
 
252
252
    def start_error(self, is_update_error, header, desc):
253
253
        if is_update_error: