diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-05-24 13:10:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-05-24 13:10:24 +0000 |
commit | 762dee42a6cbe4a3e803d402ccadc8050897752e (patch) | |
tree | dc99aaa2ba5ec957f2c1854557e96be6778b3618 /perl-install/standalone/drakboot | |
parent | 55e82bbb21c394f5d939a3b3827ceb99364554cb (diff) | |
download | drakx-backup-do-not-use-762dee42a6cbe4a3e803d402ccadc8050897752e.tar drakx-backup-do-not-use-762dee42a6cbe4a3e803d402ccadc8050897752e.tar.gz drakx-backup-do-not-use-762dee42a6cbe4a3e803d402ccadc8050897752e.tar.bz2 drakx-backup-do-not-use-762dee42a6cbe4a3e803d402ccadc8050897752e.tar.xz drakx-backup-do-not-use-762dee42a6cbe4a3e803d402ccadc8050897752e.zip |
switch from deprecated OptionMenu into new ComboBox widget
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-x | perl-install/standalone/drakboot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index c4b548d55..3298a3d39 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -72,10 +72,10 @@ unless ($::isEmbedded) { ######### menus end } -my $user_combo = Gtk2::OptionMenu->new; +my $user_combo = Gtk2::ComboBox->new_text; $user_combo->set_popdown_strings(list_users()); $user_combo->entry->set_text($auto_mode->{autologin}) if $auto_mode->{autologin}; -my $desktop_combo = Gtk2::OptionMenu->new; +my $desktop_combo = Gtk2::ComboBox->new_text; $desktop_combo->set_popdown_strings(split(' ', `/usr/sbin/chksession -l`)); $desktop_combo->entry->set_text($auto_mode->{desktop}) if $auto_mode->{desktop}; @@ -127,7 +127,7 @@ foreach (all('.')) { } my %combo = ('thms' => '', 'lilo' => '', 'boot' => ''); foreach (keys(%combo)) { - $combo{$_} = gtkset_size_request(Gtk2::OptionMenu->new, 10, -1); + $combo{$_} = gtkset_size_request(Gtk2::ComboBox->new_text, 10, -1); } $combo{boot}->set_popdown_strings(@boot_thms); |