diff -Nru update-manager-0.196.5/UpdateManager/Dialogs.py update-manager-0.196.6/UpdateManager/Dialogs.py --- update-manager-0.196.5/UpdateManager/Dialogs.py 2014-01-10 06:17:20.000000000 -0500 +++ update-manager-0.196.6/UpdateManager/Dialogs.py 2014-01-11 10:06:22.000000000 -0500 @@ -277,7 +277,9 @@ InternalDialog.__init__(self, window_main) self.set_header( _("The computer needs to restart to finish installing updates.")) - self.focus_button = self.add_button(_("_Restart"), self.restart) + self.add_settings_button() + self.add_button(_("Restart _Later"), self.window_main.close) + self.focus_button = self.add_button(_("_Restart Now…"), self.restart) def start(self): Dialog.start(self) diff -Nru update-manager-0.196.5/UpdateManager/UpdateManager.py update-manager-0.196.6/UpdateManager/UpdateManager.py --- update-manager-0.196.5/UpdateManager/UpdateManager.py 2014-01-10 06:28:17.000000000 -0500 +++ update-manager-0.196.6/UpdateManager/UpdateManager.py 2014-01-10 14:57:02.000000000 -0500 @@ -247,7 +247,7 @@ header = _("You stopped the check for updates.") desc = _("Updated software is available from " "a previous check.") - return UpdatesAvailable(self, header, desc) + return UpdatesAvailable(self, header, desc, need_reboot) def start_error(self, is_update_error, header, desc): if is_update_error: diff -Nru update-manager-0.196.5/UpdateManager/UpdatesAvailable.py update-manager-0.196.6/UpdateManager/UpdatesAvailable.py --- update-manager-0.196.5/UpdateManager/UpdatesAvailable.py 2014-01-10 06:27:50.000000000 -0500 +++ update-manager-0.196.6/UpdateManager/UpdatesAvailable.py 2014-01-10 15:49:30.000000000 -0500 @@ -205,7 +205,8 @@ class UpdatesAvailable(InternalDialog): APP_INSTALL_ICONS_PATH = "/usr/share/app-install/icons" - def __init__(self, window_main, header=None, desc=None): + def __init__(self, window_main, header=None, desc=None, + need_reboot=False): InternalDialog.__init__(self, window_main) self.window_main = window_main @@ -214,6 +215,7 @@ self.custom_header = header self.custom_desc = desc + self.need_reboot = need_reboot content_ui_path = os.path.join(self.datadir, "gtkbuilder/UpdateManager.ui") @@ -790,6 +792,9 @@ else: text_header = _("Updated software is available for this " "computer. Do you want to install it now?") + if self.hbox_restart.get_visible() == False and self.need_reboot: + text_desc = _("The computer also needs to restart " + "to finish installing previous updates.") self.notebook_details.set_sensitive(True) self.treeview_update.set_sensitive(True) diff -Nru update-manager-0.196.5/debian/changelog update-manager-0.196.6/debian/changelog --- update-manager-0.196.5/debian/changelog 2014-01-10 06:29:35.000000000 -0500 +++ update-manager-0.196.6/debian/changelog 2014-01-11 09:54:32.000000000 -0500 @@ -1,3 +1,14 @@ +update-manager (1:0.196.6) trusty; urgency=low + + * 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 + + -- Marc Deslauriers Sat, 11 Jan 2014 09:53:15 -0500 + update-manager (1:0.196.5) trusty; urgency=medium * Stop using deprecated GObject constructors with positional arguments