From 5fe6c906fb0c6fc71ca423d365aa3a356017f002 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 8 Mar 2004 09:05:53 +0000 Subject: (mk_frame) enable to use either combo boxes or option menus for lists --- perl-install/standalone/draksplash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/draksplash') diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash index 83625ea08..57222eaec 100755 --- a/perl-install/standalone/draksplash +++ b/perl-install/standalone/draksplash @@ -384,7 +384,7 @@ sub mk_frame { my @popdown; if ($ref->{widget}{combo}{$1}) { @popdown = @{$ref->{widget}{combo}{$1}}; - $ref->{widgets}{combo}{$1} = new Gtk2::Combo; + $ref->{widgets}{combo}{$1} = $ref->{widget}{extras}{$1}{noneditable} ? Gtk2::OptionMenu->new : Gtk2::Combo->new; $hboxes{$key}->add($ref->{widgets}{combo}{$1}); $ref->{widgets}{combo}{$1}->set_popdown_strings(@popdown); } -- cgit v1.2.1