summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS4
-rwxr-xr-xmdkapplet2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 79343da0..2ea42ca3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+Version 2.43 - 30 September 2008
+- mdkapplet
+ o don't show the applet when there's no network
+
Version 2.42 - 4 September 2008
- mdkapplet:
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: