summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-21 22:27:58 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-21 22:27:58 +0000
commitb1ccf7205dd68631c18529def7b116cbdfbf485c (patch)
tree713d00615a681d78dfe29e5ca2680aadefc1545a /mdkapplet
parent2873314d5503302a1824e3d6d1616f3b17388f28 (diff)
downloadmgaonline-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-xmdkapplet8
1 files changed, 7 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index cd428788..13fdf607 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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 => {