summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) },