summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 01:41:34 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 11:00:41 +0100
commita2e2b6f40d41586bf073bd1c156ec8b8eb7ef27d (patch)
treee49a5db53eb1132ddda5bcf1f595819c51765785 /lib/network
parent31f5f934a335a0fe639ec7925225d2731bec12b3 (diff)
downloaddrakx-net-a2e2b6f40d41586bf073bd1c156ec8b8eb7ef27d.tar
drakx-net-a2e2b6f40d41586bf073bd1c156ec8b8eb7ef27d.tar.gz
drakx-net-a2e2b6f40d41586bf073bd1c156ec8b8eb7ef27d.tar.bz2
drakx-net-a2e2b6f40d41586bf073bd1c156ec8b8eb7ef27d.tar.xz
drakx-net-a2e2b6f40d41586bf073bd1c156ec8b8eb7ef27d.zip
Gtk3::ComboBox->new_text => Gtk3::ComboBoxText->new
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/drakconnect/edit.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/network/drakconnect/edit.pm b/lib/network/drakconnect/edit.pm
index 8a258f8..24b1286 100644
--- a/lib/network/drakconnect/edit.pm
+++ b/lib/network/drakconnect/edit.pm
@@ -49,7 +49,7 @@ sub manage {
$window->{rwindow}->add(gtkpack_(Gtk3::VBox->new,
0, gtkpack__(Gtk3::HBox->new,
gtknew('Label', text => N("Device: "), alignment => [ 0, 0 ]),
- $interface_menu = gtksignal_connect(Gtk3::ComboBox->new_text,
+ $interface_menu = gtksignal_connect(Gtk3::ComboBoxText->new,
changed => sub {
$selected = $interface_menu->get_text;
$notebook->set_current_page($p->{$selected}{gui}{index});
@@ -134,7 +134,7 @@ sub build_notebook {
if_($is_ethernet,
gtkpack(Gtk3::HBox->new(1,0),
gtknew('Label_Left', text => N("Protocol")),
- $gui->{intf}{BOOTPROTO} = gtksignal_connect(Gtk3::ComboBox->new_text, changed => sub {
+ $gui->{intf}{BOOTPROTO} = gtksignal_connect(Gtk3::ComboBoxText->new, changed => sub {
return if !$_[0]->realized;
my $proto = $gui->{intf}{BOOTPROTO};
my $protocol = $intf->{BOOTPROTO} = { reverse %{$proto->{protocols}} }->{$proto->get_text};
@@ -311,7 +311,7 @@ sub build_notebook {
if_($interface eq 'modem',
0, gtkpack(Gtk3::VBox->new(1,0),
gtkpack__(Gtk3::HBox->new, Gtk3::Label->new(N("Authentication"))),
- gtkpack__(Gtk3::HBox->new, $gui->{intf}{auth} = gtksignal_connect(Gtk3::ComboBox->new_text,
+ gtkpack__(Gtk3::HBox->new, $gui->{intf}{auth} = gtksignal_connect(Gtk3::ComboBoxText->new,
changed => $apply)),
)),
map { (0, gtkpack(Gtk3::VBox->new(1,0),
@@ -340,7 +340,7 @@ sub build_notebook {
gtkpack__(Gtk3::VBox->new(0,5),
(map { (gtkpack(Gtk3::VBox->new(1,0),
gtkpack__(Gtk3::HBox->new, Gtk3::Label->new($_->[0])),
- gtkpack__(Gtk3::HBox->new, $gui->{intf}{$_->[1]} = gtksignal_connect(Gtk3::ComboBox->new_text,
+ gtkpack__(Gtk3::HBox->new, $gui->{intf}{$_->[1]} = gtksignal_connect(Gtk3::ComboBoxText->new,
changed => $apply)),
),
);