From 40348a760c3b1d07924db2c7feefa14e2cc5bfae Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 10 Sep 2007 10:09:10 +0000 Subject: do not hardcode icon extension and path --- lib/network/connection_manager.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/network/connection_manager.pm') 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) }, }; } -- cgit v1.2.1