summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-28 15:11:39 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-28 15:11:39 +0000
commit605c6b07c0afebfc6c0f1beca43b1081fbf0ad0d (patch)
tree44541582d5d0f71b8c22cfaa10b8641c2b5418e0 /perl-install/standalone/net_applet
parenteb0a2827fec3a980948e13aacbcb83045a2c334d (diff)
downloaddrakx-backup-do-not-use-605c6b07c0afebfc6c0f1beca43b1081fbf0ad0d.tar
drakx-backup-do-not-use-605c6b07c0afebfc6c0f1beca43b1081fbf0ad0d.tar.gz
drakx-backup-do-not-use-605c6b07c0afebfc6c0f1beca43b1081fbf0ad0d.tar.bz2
drakx-backup-do-not-use-605c6b07c0afebfc6c0f1beca43b1081fbf0ad0d.tar.xz
drakx-backup-do-not-use-605c6b07c0afebfc6c0f1beca43b1081fbf0ad0d.zip
use new wireless icons
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r--perl-install/standalone/net_applet4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index d8a34cb6f..e73ab49fe 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -37,9 +37,7 @@ my %pixbufs =
firewall_icon => gtkcreate_pixbuf('/usr/lib/libDrakX/icons/drakfirewall.png')->scale_simple(24, 24, 'hyper'),
state => { map { $_ => gtkcreate_pixbuf($_) } qw(connected disconnected) },
link_level => { map {
- my $f = "./wifi-$_.png";
- my $pixbuf = gtkcreate_pixbuf(-r $f ? $f : 'default')->scale_simple(24, 24, 'hyper');
- $_ => $pixbuf;
+ $_ => gtkcreate_pixbuf('wifi-' . sprintf('%03d', $_) . '.png')->scale_simple(24, 24, 'hyper');
} qw(20 40 60 80 100) },
keyring => gtkcreate_pixbuf("/usr/share/pixmaps/keyring-small.png")->scale_simple(24, 24, 'hyper'), #- provided by usermode, required by drakxtools
);