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/drakTermServ | |
parent | 55e82bbb21c394f5d939a3b3827ceb99364554cb (diff) | |
download | drakx-762dee42a6cbe4a3e803d402ccadc8050897752e.tar drakx-762dee42a6cbe4a3e803d402ccadc8050897752e.tar.gz drakx-762dee42a6cbe4a3e803d402ccadc8050897752e.tar.bz2 drakx-762dee42a6cbe4a3e803d402ccadc8050897752e.tar.xz drakx-762dee42a6cbe4a3e803d402ccadc8050897752e.zip |
switch from deprecated OptionMenu into new ComboBox widget
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-x | perl-install/standalone/drakTermServ | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ index 1b3a62220..80f0bce1d 100755 --- a/perl-install/standalone/drakTermServ +++ b/perl-install/standalone/drakTermServ @@ -719,8 +719,9 @@ sub make_nbi() { update_list($list_model); - my $combo_default_kernel = new Gtk2::OptionMenu(); + my $combo_default_kernel = Gtk2::ComboBox->new_text; $combo_default_kernel->set_popdown_strings(N("Default kernel version"), @kernels); + $combo_default_kernel->set_active(0); $combo_default_kernel->entry->signal_connect('changed', sub { my $default_kernel = $combo_default_kernel->entry->get_text; my $config; |