summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
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 = $_;