diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-10 10:09:10 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-10 10:09:10 +0000 |
commit | 40348a760c3b1d07924db2c7feefa14e2cc5bfae (patch) | |
tree | c34c2adcd72c268d41f58a60a7517137516542c8 /lib/network/signal_strength.pm | |
parent | 30d3baad9e51c330ce3ce02640d851cd57d4bf79 (diff) | |
download | drakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.tar drakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.tar.gz drakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.tar.bz2 drakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.tar.xz drakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.zip |
do not hardcode icon extension and path
Diffstat (limited to 'lib/network/signal_strength.pm')
-rw-r--r-- | lib/network/signal_strength.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/signal_strength.pm b/lib/network/signal_strength.pm index 0fa891d..19e119c 100644 --- a/lib/network/signal_strength.pm +++ b/lib/network/signal_strength.pm @@ -8,7 +8,7 @@ my %pixbufs; sub get_strength_icon { my ($network) = @_; my $approx = 20 + min(80, int($network->{signal_strength}/20)*20); - return $pixbufs{$approx} ||= ugtk2::gtkcreate_pixbuf('wifi-' . sprintf('%03d', $approx) . '.png'); + return $pixbufs{$approx} ||= ugtk2::gtkcreate_pixbuf('wifi-' . sprintf('%03d', $approx)); } 1; |