summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-11-12 13:53:17 +0000
committerOlivier Blin <oblin@mandriva.com>2007-11-12 13:53:17 +0000
commit57dec386c11818393988a6adcb59b296499a6ccf (patch)
tree093b6b14871c04c021d9f80b67643cea30599171 /lib/network
parent1d7416abd3528e9d64c1444720632f4e719376c1 (diff)
downloaddrakx-net-57dec386c11818393988a6adcb59b296499a6ccf.tar
drakx-net-57dec386c11818393988a6adcb59b296499a6ccf.tar.gz
drakx-net-57dec386c11818393988a6adcb59b296499a6ccf.tar.bz2
drakx-net-57dec386c11818393988a6adcb59b296499a6ccf.tar.xz
drakx-net-57dec386c11818393988a6adcb59b296499a6ccf.zip
do not redeclare unused new x/y
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection_manager.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 8a36737..3470cbb 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -208,7 +208,7 @@ sub create_networks_list {
$cmanager->{gui}{networks_list}->signal_connect('query-tooltip' => sub {
my ($widget, $x, $y, $kbd_tip, $tooltip) = @_;
- my ($x, $y, $model, $path, $iter) = $widget->get_tooltip_context($x, $y, $kbd_tip) or return;
+ (undef, undef, my $model, my $path, my $iter) = $widget->get_tooltip_context($x, $y, $kbd_tip) or return;
my $ap = $model->get($iter, 0);
my $network = $cmanager->{connection}{networks}{$ap};
$tooltip->set_text("$network->{signal_strength}% $network->{flags}");