summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-08-13 14:07:01 +0000
committerOlivier Blin <oblin@mandriva.com>2008-08-13 14:07:01 +0000
commita45bae46a86b5742737f870826530b2513bd3012 (patch)
tree6575c8252b3c57fba6a0a2ba7e18968657e64473 /bin
parent272d6755577914c18ab41d57fe10a01012e72d7d (diff)
downloaddrakguard-a45bae46a86b5742737f870826530b2513bd3012.tar
drakguard-a45bae46a86b5742737f870826530b2513bd3012.tar.gz
drakguard-a45bae46a86b5742737f870826530b2513bd3012.tar.bz2
drakguard-a45bae46a86b5742737f870826530b2513bd3012.tar.xz
drakguard-a45bae46a86b5742737f870826530b2513bd3012.zip
enable time control settings
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakguard5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/drakguard b/bin/drakguard
index 1c3ed8c..4dff7aa 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -136,11 +136,10 @@ 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:"),
- active_ref => \$time_control, sensitive => 0, #, sensitive_ref => \$enable,
+ active_ref => \$time_control, sensitive_ref => \$enable,
toggled => \&update_time_change),
0, gtknew('HBox', sensitive_ref => \$allow_time_change, spacing => 20, children_tight => [
gtknew('Label', text => N("Start:")),
@@ -160,7 +159,7 @@ gtkadd($w->{window},
gtknew('SpinButton', lower => 0, upper => 59, step_increment => 1, value => $time_stop_m,
value_changed => sub { $time_stop_m = $_[0]->get_value } ),
]),
- ]) ) : ()),
+ ]),
]),
(map {
my $url_list = $_;