diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-03 13:08:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-03 13:08:50 +0000 |
commit | 8dfd74776454c83b40b958c2fe37741cfd017109 (patch) | |
tree | ee5aeb5524f7a147a66ee7e2af610eb3a5d743fd /mdkapplet | |
parent | f5ef2dc0771ad61354de9c9cca1ddd9533129314 (diff) | |
download | mgaonline-8dfd74776454c83b40b958c2fe37741cfd017109.tar mgaonline-8dfd74776454c83b40b958c2fe37741cfd017109.tar.gz mgaonline-8dfd74776454c83b40b958c2fe37741cfd017109.tar.bz2 mgaonline-8dfd74776454c83b40b958c2fe37741cfd017109.tar.xz mgaonline-8dfd74776454c83b40b958c2fe37741cfd017109.zip |
add an "upgrade system" in the menu when a new distro is availlable
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -113,7 +113,7 @@ my %state = ( new_distribution => { colour => [ 'error' ], changes => [ 'okay' ], - menu => [ 'update', 'check' ], + menu => [ 'upgrade_distro', 'update', 'check' ], tt => [ N("A new stable distribution has been released") . "\n\n" . N("Do you want to upgrade?") ] }, disconnected => { @@ -202,6 +202,7 @@ my %actions = ( 'update' => { name => N("Install updates"), launch => sub { installUpdates() } }, 'check' => { name => N("Check Updates"), launch => \&checkUpdates }, 'confNetwork' => { name => N("Configure Network"), launch => sub { configNetwork() } }, + 'upgrade_distro' => { name => N("Upgrade the system"), launch => \&upgrade }, ); my $icon = Gtk2::StatusIcon->new; |