From 861b1b5f1f023e2ed7c264e7d9ad2abf03bb728a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 23 Nov 2013 05:45:08 +0100 Subject: use simpler Gtk3::ComboBoxText --- perl-install/standalone/drakboot | 2 +- perl-install/standalone/drakclock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index 375b0b4d1..33b158b0a 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -192,7 +192,7 @@ sub autologin_choice() { push @users, $user; } my $user_combo = gtknew('ComboBox', text => $user, list => \@users); - my $desktop_combo = Gtk3::ComboBox->new_with_strings(\@sessions, if_(member($auto_mode->{desktop}, @sessions), $auto_mode->{desktop})); + my $desktop_combo = Gtk3::ComboBoxText->new_with_strings(\@sessions, if_(member($auto_mode->{desktop}, @sessions), $auto_mode->{desktop})); my $auto_box = gtknew('Table', col_spacings => 5, row_spacings => 5, homogeneous => 1, children => [ [ gtknew('Label_Left', text => N("Default user")), $user_combo ], diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock index fe072b073..ec814dcec 100755 --- a/perl-install/standalone/drakclock +++ b/perl-install/standalone/drakclock @@ -82,7 +82,7 @@ $my_win->{window}->add(gtknew('VBox', border_width => $::isEmbedded ? 0 : 5, chi }), 0, $hb_ntp = gtknew('HBox', border_width => 5, children => [ 0, gtknew('Label', text => N("Server:")), - 1, $combo_ntpserver = Gtk3::ComboBox->new + 1, $combo_ntpserver = Gtk3::ComboBoxText->new ]) ])) ]), -- cgit v1.2.1