diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-28 16:36:21 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-03 12:43:25 +0100 |
commit | 547a9c0b406452c97083e4182a8c5bf37c69d759 (patch) | |
tree | 2c9cd9e6ee0fb47e8ee21e7fb77a6ce00dac7943 | |
parent | ac2be294b2f7f774d4d08401417db243683e27c8 (diff) | |
download | drakpxelinux-547a9c0b406452c97083e4182a8c5bf37c69d759.tar drakpxelinux-547a9c0b406452c97083e4182a8c5bf37c69d759.tar.gz drakpxelinux-547a9c0b406452c97083e4182a8c5bf37c69d759.tar.bz2 drakpxelinux-547a9c0b406452c97083e4182a8c5bf37c69d759.tar.xz drakpxelinux-547a9c0b406452c97083e4182a8c5bf37c69d759.zip |
OptionMenu has been deprecated prior to Gtk3
-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'); |