From f08ba752a2c20921ab4a0e7a7f3707af6d87412c Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 7 May 2013 02:16:30 +0000 Subject: net_applet/netcenter/drakroam: remove unused pixbufs creation --- NEWS | 1 + bin/net_applet | 5 ----- lib/network/connection_manager/gtk.pm | 3 --- 3 files changed, 1 insertion(+), 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) }, -- cgit v1.2.1