diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-14 19:21:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-14 19:21:31 +0000 |
commit | 1dfeece63ce449df5f3b16c0e7223b6c1d157a0a (patch) | |
tree | c58c2f7e9caba4edbc0c1ce9fba50e15cbecded7 /perl-install/standalone/draksec | |
parent | 52094cbbfb2a26bbf518e2d2d527aa6ecfaec2e6 (diff) | |
download | drakx-1dfeece63ce449df5f3b16c0e7223b6c1d157a0a.tar drakx-1dfeece63ce449df5f3b16c0e7223b6c1d157a0a.tar.gz drakx-1dfeece63ce449df5f3b16c0e7223b6c1d157a0a.tar.bz2 drakx-1dfeece63ce449df5f3b16c0e7223b6c1d157a0a.tar.xz drakx-1dfeece63ce449df5f3b16c0e7223b6c1d157a0a.zip |
use new Gtk2::OptionMenu compatibility layer to get better designed GUIes
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-x | perl-install/standalone/draksec | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec index 39431f6bf..a3fe96f0e 100755 --- a/perl-install/standalone/draksec +++ b/perl-install/standalone/draksec @@ -75,8 +75,7 @@ Security Administrator: sub new_editable_combo { my ($string_list, $o_default_value) = @_; - my $w = new Gtk2::Combo(); - $w->entry->set_editable(0); + my $w = new Gtk2::OptionMenu(); $w->set_popdown_strings(@$string_list) unless is_empty_array_ref $string_list; $w->entry->set_text($o_default_value) if $o_default_value; $w; |