summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 7c89f560..618e0f4e 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -600,6 +600,7 @@ sub setState {
$bubble->add_action('clicked', N("Install updates"), \&installUpdates);
}
} elsif ($state eq 'updates') {
+ unshift @arr, 'upgrade_distro' if $new_distro_version;
$bubble->add_action('clicked', N("Install updates"), \&installUpdates);
} elsif (member($state, qw(no_enabled_medium no_update_medium))) {
$bubble->add_action('clicked', N("Add media"), \&add_media);