summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS4
-rwxr-xr-xmdkapplet3
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d7a0cd03..d3280758 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- mdkapplet
+ o do not complain if urpmi DB is locked by another program, just
+ wait for next check slot
+
Version 2.47 - 2 October 2008
- mdkapplet
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: