summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-03 17:30:52 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-03 17:30:52 +0000
commitd7413d1bbd2b4219979fd17bac60a117f27bd17e (patch)
tree4e2082e759c5f485fe1599dd14e2587d6e42b777 /mdkapplet
parent92877315e8ddb394e7b4125498bfc00e8ddf629e (diff)
downloadmgaonline-d7413d1bbd2b4219979fd17bac60a117f27bd17e.tar
mgaonline-d7413d1bbd2b4219979fd17bac60a117f27bd17e.tar.gz
mgaonline-d7413d1bbd2b4219979fd17bac60a117f27bd17e.tar.bz2
mgaonline-d7413d1bbd2b4219979fd17bac60a117f27bd17e.tar.xz
mgaonline-d7413d1bbd2b4219979fd17bac60a117f27bd17e.zip
(setState) add an "upgrade system" in the menu when in 'updates' mode (needed for next commits)
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);