diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/network/drakroam.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm index f7b0937..b972b19 100755 --- a/lib/network/drakroam.pm +++ b/lib/network/drakroam.pm @@ -58,7 +58,7 @@ sub create_drakroam_gui { my ($droam, $_dbus, $title, $icon) = @_; $droam->{gui}{model} = Gtk3::ListStore->new('Gtk3::Gdk::Pixbuf', 'Glib::String'); - $droam->{gui}{connections_combo} = Gtk3::ComboBox->new($droam->{gui}{model}); + $droam->{gui}{connections_combo} = Gtk3::ComboBox->new_with_model($droam->{gui}{model}); my $pix_r = Gtk3::CellRendererPixbuf->new; $droam->{gui}{connections_combo}->pack_start($pix_r, 0,); $droam->{gui}{connections_combo}->add_attribute($pix_r, pixbuf => 0); |