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/48x48/Makefile.am | 2 +- netspeed/icons/48x48/devices/Makefile.am | 11 +++++++++++ netspeed/icons/48x48/devices/mate-netspeed-plip.png | Bin 0 -> 1681 bytes 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 netspeed/icons/48x48/devices/Makefile.am create mode 100644 netspeed/icons/48x48/devices/mate-netspeed-plip.png (limited to 'netspeed/icons/48x48') diff --git a/netspeed/icons/48x48/Makefile.am b/netspeed/icons/48x48/Makefile.am index be70ac5b..b23c45c8 100644 --- a/netspeed/icons/48x48/Makefile.am +++ b/netspeed/icons/48x48/Makefile.am @@ -1,2 +1,2 @@ -SUBDIRS = apps +SUBDIRS = apps devices diff --git a/netspeed/icons/48x48/devices/Makefile.am b/netspeed/icons/48x48/devices/Makefile.am new file mode 100644 index 00000000..d2e476dc --- /dev/null +++ b/netspeed/icons/48x48/devices/Makefile.am @@ -0,0 +1,11 @@ +themedir = $(datadir)/icons/hicolor +size = 48x48 +context = devices + +iconsdir = $(themedir)/$(size)/$(context) + +icons_DATA = \ + mate-netspeed-plip.png + +EXTRA_DIST = \ + $(icons_DATA) diff --git a/netspeed/icons/48x48/devices/mate-netspeed-plip.png b/netspeed/icons/48x48/devices/mate-netspeed-plip.png new file mode 100644 index 00000000..99e737b0 Binary files /dev/null and b/netspeed/icons/48x48/devices/mate-netspeed-plip.png differ -- cgit v1.2.1