Skip to content

Commit 3aaeec3

Browse files
vkarehraveit65
authored andcommitted
netspeed: Use theme icons instead of embedded
This removes old icons included with the applet and instead uses icons from the current theme. Known issues: * Loopback interface does not have an icon, instead we use a "reload" icon to simulate it. * PLIP/SLIP interfaces do not have proper icons, I managed to find an old PLIP icon in the hicolor theme and re-purposed it. * Since not all icons have the same levels of scaling, I'm capping the size at 48px to keep all interfaces consistent. * There are no icons for Wireless Quality, so I retained the existing ones for now.
1 parent 683946e commit 3aaeec3

File tree

17 files changed

+164
-108
lines changed

17 files changed

+164
-108
lines changed

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,13 +574,17 @@ netspeed/icons/16x16/apps/Makefile
574574
netspeed/icons/16x16/devices/Makefile
575575
netspeed/icons/22x22/Makefile
576576
netspeed/icons/22x22/apps/Makefile
577+
netspeed/icons/22x22/devices/Makefile
577578
netspeed/icons/24x24/Makefile
578579
netspeed/icons/24x24/apps/Makefile
580+
netspeed/icons/24x24/devices/Makefile
579581
netspeed/icons/24x24/status/Makefile
580582
netspeed/icons/32x32/Makefile
581583
netspeed/icons/32x32/apps/Makefile
584+
netspeed/icons/32x32/devices/Makefile
582585
netspeed/icons/48x48/Makefile
583586
netspeed/icons/48x48/apps/Makefile
587+
netspeed/icons/48x48/devices/Makefile
584588
netspeed/icons/scalable/Makefile
585589
netspeed/icons/scalable/apps/Makefile
586590
netspeed/src/Makefile

netspeed/icons/16x16/devices/Makefile.am

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ context = devices
55
iconsdir = $(themedir)/$(size)/$(context)
66

77
icons_DATA = \
8-
mate-netspeed-loopback.png \
9-
mate-netspeed-plip.png \
10-
mate-netspeed-ppp.png
8+
mate-netspeed-plip.png
119

1210
EXTRA_DIST = \
1311
$(icons_DATA)
-237 Bytes
Binary file not shown.
-589 Bytes
Binary file not shown.

netspeed/icons/22x22/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
SUBDIRS = apps
1+
SUBDIRS = apps devices
22

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
themedir = $(datadir)/icons/hicolor
2+
size = 22x22
3+
context = devices
4+
5+
iconsdir = $(themedir)/$(size)/$(context)
6+
7+
icons_DATA = \
8+
mate-netspeed-plip.png
9+
10+
EXTRA_DIST = \
11+
$(icons_DATA)
6.23 KB
Loading

netspeed/icons/24x24/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
SUBDIRS = apps status
1+
SUBDIRS = apps devices status
22

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
themedir = $(datadir)/icons/hicolor
2+
size = 24x24
3+
context = devices
4+
5+
iconsdir = $(themedir)/$(size)/$(context)
6+
7+
icons_DATA = \
8+
mate-netspeed-plip.png
9+
10+
EXTRA_DIST = \
11+
$(icons_DATA)
4.99 KB
Loading

0 commit comments

Comments
 (0)