summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-21 16:52:13 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-21 16:52:13 +0000
commitc83ade4f9605a8311a57057387116829ab20550f (patch)
treeffdec19e4fdd0ade4ecde4e5f403262680555682
parentf773e558d3e5f3515b433103f474b93b294854ff (diff)
downloaddrakx-backup-do-not-use-c83ade4f9605a8311a57057387116829ab20550f.tar
drakx-backup-do-not-use-c83ade4f9605a8311a57057387116829ab20550f.tar.gz
drakx-backup-do-not-use-c83ade4f9605a8311a57057387116829ab20550f.tar.bz2
drakx-backup-do-not-use-c83ade4f9605a8311a57057387116829ab20550f.tar.xz
drakx-backup-do-not-use-c83ade4f9605a8311a57057387116829ab20550f.zip
fix infamous "when embedded draksec can be enlarged but never shrink back"
-rwxr-xr-xperl-install/standalone/draksec11
1 files changed, 7 insertions, 4 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 991803cdd..48b61cc42 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -149,9 +149,9 @@ my $common_opts = { col_spacings => 10, row_spacings => 5, homogenous => 1 };
######################## BASIC OPTIONS PAGE ################################
my ($seclevel_entry, $secadmin_entry);
-$notebook->append_page(gtkshow(gtkpack(new Gtk2::VBox(0, 0),
- basic_seclevel_explanations(),
- create_packtable($common_opts,
+$notebook->append_page(gtkshow(gtkpack_(new Gtk2::VBox(0, 0),
+ 1, basic_seclevel_explanations(),
+ 0, create_packtable($common_opts,
[
do {
my @sec_levels = security::level::get_common_list();
@@ -211,7 +211,10 @@ foreach ([ 'network', N("Network Options") ], [ 'system', N("System Options") ])
), 50, -1
)
]
- } sort map { $fields{$_} || $_ } $msec->list_functions($domain))))),
+ } sort map { $fields{$_} || $_ } $msec->list_functions($domain))),
+ [ 'never', 'automatic' ],
+ )
+ ),
new_wrapped_label($label));
$options_values{$domain} = \%values;
}