summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorArnaud Patard <apatard@mandriva.com>2008-09-30 14:00:26 +0000
committerArnaud Patard <apatard@mandriva.com>2008-09-30 14:00:26 +0000
commit57744d3e7e108f9cc93f481c46a0ef8136604386 (patch)
tree9fe7bbb4bcaa9ac2014e97b1a8c5d58eecbc214d /mdkapplet
parent44b483e71f64049f4f167b2c80cb98668ec25ea9 (diff)
downloadmgaonline-57744d3e7e108f9cc93f481c46a0ef8136604386.tar
mgaonline-57744d3e7e108f9cc93f481c46a0ef8136604386.tar.gz
mgaonline-57744d3e7e108f9cc93f481c46a0ef8136604386.tar.bz2
mgaonline-57744d3e7e108f9cc93f481c46a0ef8136604386.tar.xz
mgaonline-57744d3e7e108f9cc93f481c46a0ef8136604386.zip
mdkapplet: Don't show it when disconnected
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 32b9da61..d42cd0c9 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -554,7 +554,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);
+ my @invisible_states = qw(delayed okay disconnected);
$icon->set_visible(!member($state, @invisible_states));
# do not show icon while checking if previously hidden: