From 2b9d8bf7c7338ed984a3529b06d8551f5fffec88 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Wed, 2 May 2018 15:17:17 -0400 Subject: 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. --- netspeed/icons/24x24/Makefile.am | 2 +- netspeed/icons/24x24/devices/Makefile.am | 11 +++++++++++ netspeed/icons/24x24/devices/mate-netspeed-plip.png | Bin 0 -> 5108 bytes 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 netspeed/icons/24x24/devices/Makefile.am create mode 100644 netspeed/icons/24x24/devices/mate-netspeed-plip.png (limited to 'netspeed/icons/24x24') diff --git a/netspeed/icons/24x24/Makefile.am b/netspeed/icons/24x24/Makefile.am index 3385c299..f34f5bb5 100644 --- a/netspeed/icons/24x24/Makefile.am +++ b/netspeed/icons/24x24/Makefile.am @@ -1,2 +1,2 @@ -SUBDIRS = apps status +SUBDIRS = apps devices status diff --git a/netspeed/icons/24x24/devices/Makefile.am b/netspeed/icons/24x24/devices/Makefile.am new file mode 100644 index 00000000..6e8604be --- /dev/null +++ b/netspeed/icons/24x24/devices/Makefile.am @@ -0,0 +1,11 @@ +themedir = $(datadir)/icons/hicolor +size = 24x24 +context = devices + +iconsdir = $(themedir)/$(size)/$(context) + +icons_DATA = \ + mate-netspeed-plip.png + +EXTRA_DIST = \ + $(icons_DATA) diff --git a/netspeed/icons/24x24/devices/mate-netspeed-plip.png b/netspeed/icons/24x24/devices/mate-netspeed-plip.png new file mode 100644 index 00000000..acad66d5 Binary files /dev/null and b/netspeed/icons/24x24/devices/mate-netspeed-plip.png differ -- cgit v1.2.1