diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-03 17:30:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-03 17:30:52 +0000 |
commit | d7413d1bbd2b4219979fd17bac60a117f27bd17e (patch) | |
tree | 4e2082e759c5f485fe1599dd14e2587d6e42b777 | |
parent | 92877315e8ddb394e7b4125498bfc00e8ddf629e (diff) | |
download | mgaonline-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)
-rwxr-xr-x | mdkapplet | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |