diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-02 12:54:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-02 12:54:24 +0000 |
commit | cd9f33059ed3abb41967b6c6243753daf89ecce4 (patch) | |
tree | 3a9640aece017b33149ca43f1e73825248c3a8bf /mdkapplet | |
parent | 5ebc9fe6205c2c11c8771048102fa2e40ad22df9 (diff) | |
download | mgaonline-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-x | mdkapplet | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |