summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index a1a2d9915..628df6862 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -117,7 +117,7 @@ maximum"))) ]);
sub new_nonedit_combo {
my ($string_list, $o_default_value) = @_;
- my $w = new Gtk2::OptionMenu();
+ my $w = Gtk2::ComboBox->new_text ;
$w->set_popdown_strings(to_i18n(@$string_list)) unless is_empty_array_ref $string_list;
$w->entry->set_text(to_i18n($o_default_value)) if $o_default_value;
$w;