From f31bc3333e4ae3216722e46a27b20ee0577d7ce3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 12 Aug 2004 08:12:32 +0000 Subject: (basic_seclevel_explanations) - handle "bold" value for "weight" - display labels as bold --- perl-install/standalone/draksec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'perl-install/standalone/draksec') diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec index f5dd0b5d4..5435599d9 100755 --- a/perl-install/standalone/draksec +++ b/perl-install/standalone/draksec @@ -82,7 +82,7 @@ sub basic_seclevel_explanations() { my %tags = %common_opts; while (s!(\w+?)="(\w+?)"!!) { $tags{weight} ||= Gtk2::Pango->PANGO_WEIGHT_BOLD if $1 eq 'foreground'; - $tags{$1} = $2; + $tags{$1} = $2 eq "bold" ? Gtk2::Pango->PANGO_WEIGHT_BOLD : $2; } s/^>//; [ $_, \%tags ]; @@ -96,13 +96,13 @@ sub basic_seclevel_explanations() { N("Here, you can setup the security level and administrator of your machine. -The Security Administrator is the one who will receive security alerts if the -'Security Alerts' option is set. It can be a username or an email. +The 'Security Administrator' is the one who will receive security alerts if the +'Security Alerts' option is set. It can be a username or an email. -The Security Level menu allows you to select one of the six preconfigured security levels -provided with msec. These levels range from poor security and ease of use, to -paranoid config, suitable for very sensitive server applications: +The 'Security Level' menu allows you to select one of the six preconfigured security levels +provided with msec. These levels range from 'poor' security and ease of use, to +'paranoid' config, suitable for very sensitive server applications: Poor: This is a totally unsafe but very -- cgit v1.2.1