summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-03 15:28:02 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-03 15:28:02 +0000
commit9b32ecd552f92959830174172756648d72900db3 (patch)
tree024c0fd444fe294e7d8f604035683b25276445ad /bin
parentdfc8ac480706bed412d7a9b600926db17aa82d38 (diff)
downloaddrakguard-9b32ecd552f92959830174172756648d72900db3.tar
drakguard-9b32ecd552f92959830174172756648d72900db3.tar.gz
drakguard-9b32ecd552f92959830174172756648d72900db3.tar.bz2
drakguard-9b32ecd552f92959830174172756648d72900db3.tar.xz
drakguard-9b32ecd552f92959830174172756648d72900db3.zip
hide inactive time control pane (the "time" netfilter module does not work out of the box in current kernel)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakguard3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/drakguard b/bin/drakguard
index 883c3de..67f179f 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -135,6 +135,7 @@ gtkadd($w->{window},
]),
gtknew('ScrolledWindow', width => 220, height => 120, child => $users_list),
]),
+ ( 0 ? (
1, gtknew('Label'),
0, gtknew('Title2', label => N("Time control")),
0, gtknew('CheckButton', text => N("Allow connections only between these times:"),
@@ -154,7 +155,7 @@ gtkadd($w->{window},
gtknew('Label', text => ':'),
gtknew('SpinButton', lower => 0, upper => 60, step_increment => 1),
]),
- ]),
+ ]) ) : ()),
]),
(map {
my $url_list = $_;