summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-02 12:54:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-02 12:54:24 +0000
commitcd9f33059ed3abb41967b6c6243753daf89ecce4 (patch)
tree3a9640aece017b33149ca43f1e73825248c3a8bf /mdkapplet
parent5ebc9fe6205c2c11c8771048102fa2e40ad22df9 (diff)
downloadmgaonline-cd9f33059ed3abb41967b6c6243753daf89ecce4.tar
mgaonline-cd9f33059ed3abb41967b6c6243753daf89ecce4.tar.gz
mgaonline-cd9f33059ed3abb41967b6c6243753daf89ecce4.tar.bz2
mgaonline-cd9f33059ed3abb41967b6c6243753daf89ecce4.tar.xz
mgaonline-cd9f33059ed3abb41967b6c6243753daf89ecce4.zip
(setState) do not complain if urpmi DB is locked by another program,
just wait for next check slot)
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 3ebdaa4b..25467800 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -133,6 +133,7 @@ my %state = (
changes => [ 'okay', 'busy', 'critical', 'disconnected' ],
menu => [ 'check' ],
tt => [ N_("urpmi database locked") ],
+ do_not_use_bubble => 1,
},
notsupported => {
colour => [ 'disabled' ],
@@ -554,7 +555,7 @@ sub setState {
my $tmp = gtkcreate_pixbuf($state{$state}{colour}[0]);
$icon->set_from_pixbuf($tmp);
$icon->set_tooltip(formatAlaTeX(translate($state{$state}{tt}[0])));
- my @invisible_states = qw(delayed okay disconnected);
+ my @invisible_states = qw(delayed okay disconnected locked);
$icon->set_visible(!member($state, @invisible_states));
# do not show icon while checking if previously hidden: