summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet-upgrade-helper5
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index e8a40f79..c8478f77 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,8 @@
- mdkapplet-upgrade-helper
o disable custom downloader settings in order to default to aria2
o disable the X screen saver while upgrading the system
+ o when updates succeeded:
+ * offer to reboot
Version 2.63 - 16 October 2008
diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper
index bb8d2d6f..2d58ac4e 100755
--- a/mdkapplet-upgrade-helper
+++ b/mdkapplet-upgrade-helper
@@ -127,11 +127,12 @@ sub upgrade_distro_congratulations() {
line_wrap => 1,
# workaround infamous 6 years old gnome bug #101968:
width => $width - 50),
- create_okcancel($w, N("Ok")),
+ create_okcancel($w, N("Reboot"), N("Cancel")),
]),
);
$w->{ok}->grab_focus;
- $w->main;
+ my $answer = $w->main;
+ any::reboot() if $answer && !$::testing;
}
sub upgrade() {