From 10a186916e192edbf76a8964951cb8bfe1c29bb2 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 3 Aug 2007 12:37:57 +0000 Subject: pass droam variable --- lib/network/drakroam.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/network') diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm index 7662e82..5d2e2aa 100755 --- a/lib/network/drakroam.pm +++ b/lib/network/drakroam.pm @@ -326,7 +326,7 @@ sub build_drakroam_gui { 0, $status_bar, ]), ); - $droam->{gui}{networks_list}->get_selection->signal_connect('changed' => \&select_network); + $droam->{gui}{networks_list}->get_selection->signal_connect('changed' => sub { select_network($droam) }); } sub main { -- cgit v1.2.1