summaryrefslogtreecommitdiffstats
path: root/mdkapplet-upgrade-helper
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet-upgrade-helper')
-rwxr-xr-xmdkapplet-upgrade-helper5
1 files changed, 3 insertions, 2 deletions
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() {