summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakguard14
1 files changed, 5 insertions, 9 deletions
diff --git a/bin/drakguard b/bin/drakguard
index 89db0fc..b3ab84e 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -105,23 +105,19 @@ gtkadd($w->{window},
0, gtknew('CheckButton', text => N("Allow connections only between these times:"),
active_ref => \$time_control, sensitive_ref => \$enable,
toggled => \&update_time_change),
- 0, gtknew('HBox', spacing => 20, children_tight => [
+ 0, gtknew('HBox', sensitive_ref => \$allow_time_change, spacing => 20, children_tight => [
gtknew('Label', text => N("Start:")),
gtknew('HBox', spacing => 2, children_tight => [
- gtknew('SpinButton', lower => 0, upper => 24, step_increment => 1, value => 18,
- sensitive_ref => \$allow_time_change),
+ gtknew('SpinButton', lower => 0, upper => 24, step_increment => 1, value => 18),
gtknew('Label', text => ':'),
- gtknew('SpinButton', lower => 0, upper => 60, step_increment => 1,
- sensitive_ref => \$allow_time_change),
+ gtknew('SpinButton', lower => 0, upper => 60, step_increment => 1),
]),
gtknew('Label'),
gtknew('Label', text => N("End:")),
gtknew('HBox', spacing => 2, children_tight => [
- gtknew('SpinButton', lower => 0, upper => 24, step_increment => 1, value => 21,
- sensitive_ref => \$allow_time_change),
+ gtknew('SpinButton', lower => 0, upper => 24, step_increment => 1, value => 21),
gtknew('Label', text => ':'),
- gtknew('SpinButton', lower => 0, upper => 60, step_increment => 1,
- sensitive_ref => \$allow_time_change),
+ gtknew('SpinButton', lower => 0, upper => 60, step_increment => 1),
]),
]),
]),