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/connection_manager.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/connection_manager.pm')
-rw-r--r-- | lib/network/connection_manager.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 83def2d..f5d539d 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -20,10 +20,10 @@ sub create_pixbufs() { { state => { map { $_ => gtkcreate_pixbuf($_) } qw(connected disconnected refresh) }, link_level => { map { - $_ => gtkcreate_pixbuf('wifi-' . sprintf('%03d', $_) . '.png')->scale_simple(24, 24, 'hyper'); + $_ => gtkcreate_pixbuf('wifi-' . sprintf('%03d', $_))->scale_simple(24, 24, 'hyper'); } qw(20 40 60 80 100) }, encryption => { map { - $_ => gtkcreate_pixbuf("encryption-$_-24.png"); + $_ => gtkcreate_pixbuf("encryption-$_-24"); } qw(open weak strong) }, }; } |