summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-28 20:34:45 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-28 20:34:45 +0000
commit569ee0983d68c2aea20d02d25c46570f40496066 (patch)
tree26750876e1b161c04c253440ae5a5179f1642afa /perl-install/standalone/draksec
parentc593cbf4d53a583d0240771cda635112c474a6bd (diff)
downloaddrakx-569ee0983d68c2aea20d02d25c46570f40496066.tar
drakx-569ee0983d68c2aea20d02d25c46570f40496066.tar.gz
drakx-569ee0983d68c2aea20d02d25c46570f40496066.tar.bz2
drakx-569ee0983d68c2aea20d02d25c46570f40496066.tar.xz
drakx-569ee0983d68c2aea20d02d25c46570f40496066.zip
reindent for readability (shorter lines, no changes)
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec24
1 files changed, 14 insertions, 10 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 21700fb04..629f6f878 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -269,16 +269,20 @@ my %security_checks_value;
my $check_string = N("Periodic Checks");
register_help_page($check_string);
-gtkappend_page($notebook, gtkshow(gtknew('VBox', children => [
- 1, create_scrolled_window(create_packtable($common_opts,
- map {
- my $i = $_;
- my $opt = $inv_fields{$i} || $i;
- $security_checks_value{$i} = new_nonedit_combo([ 'yes', 'no', 'default' ], $msec->get_check_value($opt));
- register_help_entry($i, $msec->get_check_default($opt), $opt);
- [ gtkshow(gtknew('Label_Left', line_wrap => 1, text => $i)), resize($security_checks_value{$i}) ];
- } sort map { $fields{$_} || $_ } $msec->list_checks)) ])),
- gtknew('Label', text => $check_string));
+gtkappend_page($notebook,
+ gtkshow(gtknew('VBox', children => [
+ 1, create_scrolled_window(
+ create_packtable($common_opts,
+ map {
+ my $i = $_;
+ my $opt = $inv_fields{$i} || $i;
+ $security_checks_value{$i} = new_nonedit_combo([ 'yes', 'no', 'default' ],
+ $msec->get_check_value($opt));
+ register_help_entry($i, $msec->get_check_default($opt), $opt);
+ [ gtkshow(gtknew('Label_Left', line_wrap => 1, text => $i)),
+ resize($security_checks_value{$i}) ];
+ } sort map { $fields{$_} || $_ } $msec->list_checks)) ])),
+ gtknew('Label', text => $check_string));
######################## AUTH ###################################