From 547a9c0b406452c97083e4182a8c5bf37c69d759 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 28 Nov 2013 16:36:21 +0100 Subject: OptionMenu has been deprecated prior to Gtk3 --- drakpxelinux.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drakpxelinux.pl') 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'); -- cgit v1.2.1