diff options
author | Arnaud Patard <apatard@mandriva.com> | 2008-09-30 14:00:26 +0000 |
---|---|---|
committer | Arnaud Patard <apatard@mandriva.com> | 2008-09-30 14:00:26 +0000 |
commit | 57744d3e7e108f9cc93f481c46a0ef8136604386 (patch) | |
tree | 9fe7bbb4bcaa9ac2014e97b1a8c5d58eecbc214d | |
parent | 44b483e71f64049f4f167b2c80cb98668ec25ea9 (diff) | |
download | mgaonline-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-- | NEWS | 4 | ||||
-rwxr-xr-x | mdkapplet | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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: @@ -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: |