summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2013-05-07 02:16:30 +0000
committerOlivier Blin <blino@mageia.org>2013-05-07 02:16:30 +0000
commitf08ba752a2c20921ab4a0e7a7f3707af6d87412c (patch)
tree87d8b142911bd4681bf8334b744a90959bcec048
parent946a66201d82a73c13398dc5dd811389a25d735c (diff)
downloaddrakx-net-f08ba752a2c20921ab4a0e7a7f3707af6d87412c.tar
drakx-net-f08ba752a2c20921ab4a0e7a7f3707af6d87412c.tar.gz
drakx-net-f08ba752a2c20921ab4a0e7a7f3707af6d87412c.tar.bz2
drakx-net-f08ba752a2c20921ab4a0e7a7f3707af6d87412c.tar.xz
drakx-net-f08ba752a2c20921ab4a0e7a7f3707af6d87412c.zip
net_applet/netcenter/drakroam: remove unused pixbufs creation
-rw-r--r--NEWS1
-rwxr-xr-xbin/net_applet5
-rw-r--r--lib/network/connection_manager/gtk.pm3
3 files changed, 1 insertions, 8 deletions
diff --git a/NEWS b/NEWS
index da28eb2..8d0a363 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- connection manager: extract gtk2 specific code in separate module
(to reuse connection manager in harddrake service for packages installation)
+- net_applet/netcenter/drakroam: remove unused pixbufs creation
1.23:
- add FDN to ISP list (mga#6883)
diff --git a/bin/net_applet b/bin/net_applet
index 43c692c..faeaa74 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -45,12 +45,7 @@ our %wireless_networks;
our %pixbufs =
(
- firewall => gtknew('Pixbuf', file => 'drakfirewall'),
- firewall_icon => gtknew('Pixbuf', file => 'drakfirewall')->scale_simple(24, 24, 'hyper'),
state => { map { $_ => gtknew('Pixbuf', file => $_) } qw(connected disconnected unconfigured connecting) },
- link_level => { map {
- $_ => gtknew('Pixbuf', file => 'wifi-' . sprintf('%03d', $_))->scale_simple(24, 24, 'hyper');
- } qw(20 40 60 80 100) },
encryption => { map {
$_ => gtknew('Pixbuf', file => "encryption-$_-24");
} qw(open weak strong) },
diff --git a/lib/network/connection_manager/gtk.pm b/lib/network/connection_manager/gtk.pm
index 3f8c21b..8fe7851 100644
--- a/lib/network/connection_manager/gtk.pm
+++ b/lib/network/connection_manager/gtk.pm
@@ -13,9 +13,6 @@ use locale; # for cmp
our %pixbufs = (
state => { map { $_ => gtkcreate_pixbuf($_) } qw(connected disconnected refresh) },
- link_level => { map {
- $_ => gtkcreate_pixbuf('wifi-' . sprintf('%03d', $_))->scale_simple(24, 24, 'hyper');
- } qw(20 40 60 80 100) },
encryption => { map {
$_ => gtkcreate_pixbuf("encryption-$_-24");
} qw(open weak strong) },