diff options
-rwxr-xr-x | drakpxelinux.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl index c00608b..7f2313f 100755 --- a/drakpxelinux.pl +++ b/drakpxelinux.pl @@ -555,13 +555,13 @@ sub edit_box_item { $buttoninitrd->signal_connect(clicked => sub { $file_dialog->show }); # combo box to pop down automatic installation - my $automatic = Gtk3::OptionMenu->new; + my $automatic = Gtk3::ComboBoxText->new; $automatic->set_popdown_strings(@list_method); $automatic->entry->set_text($entry->{method}); set_help_tip($automatic, 'automatic'); # combo box to pop down list of network interface - my $interface = new Gtk3::OptionMenu(); + my $interface = new Gtk3::ComboBoxText(); $interface->set_popdown_strings(@list_eth); $interface->entry->set_text($entry->{interface}); set_help_tip($interface, 'interface'); @@ -582,13 +582,13 @@ sub edit_box_item { my $buttondir = Gtk3::Button->new(N("Select directory")); $buttondir->signal_connect(clicked => sub { $file_dialogd->show }); - my $ramdisk_size = new Gtk3::OptionMenu(); + my $ramdisk_size = new Gtk3::ComboBoxText(); $ramdisk_size->set_popdown_strings(@list_ram); if ($entry->{ramdisk_size} eq "") { $entry->{ramdisk_size} = "128000" } $ramdisk_size->entry->set_text($entry->{ramdisk_size}); set_help_tip($ramdisk_size, 'ramsize'); - my $vga = new Gtk3::OptionMenu(); + my $vga = new Gtk3::ComboBoxText(); $vga->set_popdown_strings(sort keys %network::pxe::vga_resolution_to_bios); $vga->entry->set_text($network::pxe::vga_bios_to_resolution{$entry->{vga}}); set_help_tip($vga, 'vga'); |