summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-22 15:45:49 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-22 15:45:49 +0000
commitc75617c6e585bbfb11d960782da3d67a968d48f4 (patch)
treef03984193611e49d57c56320f31f4b0c6be2c891 /perl-install
parent1645a5853ee16eb698cf281b68610b97d15fcade (diff)
downloaddrakx-backup-do-not-use-c75617c6e585bbfb11d960782da3d67a968d48f4.tar
drakx-backup-do-not-use-c75617c6e585bbfb11d960782da3d67a968d48f4.tar.gz
drakx-backup-do-not-use-c75617c6e585bbfb11d960782da3d67a968d48f4.tar.bz2
drakx-backup-do-not-use-c75617c6e585bbfb11d960782da3d67a968d48f4.tar.xz
drakx-backup-do-not-use-c75617c6e585bbfb11d960782da3d67a968d48f4.zip
simplify and order vertically OptionMenus
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/draksec9
1 files changed, 2 insertions, 7 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 4feafe779..1427ca887 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -146,7 +146,7 @@ $window->add(my $vbox = gtkshow(new Gtk2::VBox(0, 0)));
# Create the notebook (for bookmarks at the top)
my $notebook = create_notebook();
-my $common_opts = { col_spacings => 10, row_spacings => 5, homogenous => 1 };
+my $common_opts = { col_spacings => 10, row_spacings => 5 };
######################## BASIC OPTIONS PAGE ################################
my ($seclevel_entry, $secadmin_entry);
@@ -207,12 +207,7 @@ foreach ([ 'network', N("Network Options") ], [ 'system', N("System Options") ])
}
$entry->set_text(to_i18n($msec->get_function_value($opt)));
set_help_tip($entry, $default, $opt);
- [ gtkset_size_request(gtkpack_(Gtk2::HBox->new,
- 0, new_wrapped_label($i),
- 1, $values{$i}
- ), 50, -1
- )
- ]
+ [ new_wrapped_label($i), resize($values{$i}) ];
} sort map { $fields{$_} || $_ } $msec->list_functions($domain))),
[ 'never', 'automatic' ],
)