diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-21 22:27:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-21 22:27:58 +0000 |
commit | b1ccf7205dd68631c18529def7b116cbdfbf485c (patch) | |
tree | 713d00615a681d78dfe29e5ca2680aadefc1545a /mdkapplet | |
parent | 2873314d5503302a1824e3d6d1616f3b17388f28 (diff) | |
download | mgaonline-b1ccf7205dd68631c18529def7b116cbdfbf485c.tar mgaonline-b1ccf7205dd68631c18529def7b116cbdfbf485c.tar.gz mgaonline-b1ccf7205dd68631c18529def7b116cbdfbf485c.tar.bz2 mgaonline-b1ccf7205dd68631c18529def7b116cbdfbf485c.tar.xz mgaonline-b1ccf7205dd68631c18529def7b116cbdfbf485c.zip |
add a "locked" status in order to report clearly the issue
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -132,6 +132,12 @@ my %state = ( menu => [ 'configureApplet', 'weblink' ], tt => [ N_("Service is not activated. Please click on \"Online Website\"") ] }, + locked => { + colour => [ 'noconf' ], + changes => [ 'okay', 'busy', 'critical', 'disconnected' ], + menu => [ 'configureApplet', 'check', 'weblink' ], + tt => [ N_("%s database locked", 'urpmi') ], + }, notsupported => { colour => [ 'disabled' ], changes => [ 'okay', 'busy', 'critical', 'error' ], @@ -160,7 +166,7 @@ Then, restart %s.", 'mdkapplet'), 'mdkapplet') ], my %comm_codes = ( locked => { code => 2, - status => 'critical', + status => 'locked', log => N_("%s database locked", 'urpmi') . ", skipping updating urpmi database", }, error_updating => { |