diff --git a/Makefile.am b/Makefile.am index c0d1aaf..4a789e4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ @SET_MAKE@ -SUBDIRS = panel-plugin po +SUBDIRS = panel-plugin po icons distclean-local: rm -rf *.cache *~ diff --git a/configure.in.in b/configure.in.in index a601f3d..1994c6d 100644 --- a/configure.in.in +++ b/configure.in.in @@ -67,5 +67,9 @@ AC_OUTPUT([ Makefile panel-plugin/Makefile po/Makefile.in +icons/Makefile +icons/24x24/Makefile +icons/48x48/Makefile +icons/scalable/Makefile ]) diff --git a/icons/24x24/Makefile.am b/icons/24x24/Makefile.am new file mode 100644 index 0000000..1e8d999 --- /dev/null +++ b/icons/24x24/Makefile.am @@ -0,0 +1,6 @@ +iconsdir = $(datadir)/icons/hicolor/24x24/apps +icons_DATA = \ + xfce4-netload-plugin.png + +EXTRA_DIST = \ + $(icons_DATA) diff --git a/icons/24x24/xfce4-netload-plugin.png b/icons/24x24/xfce4-netload-plugin.png new file mode 100644 index 0000000..c14a840 Binary files /dev/null and b/icons/24x24/xfce4-netload-plugin.png differ diff --git a/icons/48x48/Makefile.am b/icons/48x48/Makefile.am new file mode 100644 index 0000000..b3f10ce --- /dev/null +++ b/icons/48x48/Makefile.am @@ -0,0 +1,6 @@ +iconsdir = $(datadir)/icons/hicolor/48x48/apps +icons_DATA = \ + xfce4-netload-plugin.png + +EXTRA_DIST = \ + $(icons_DATA) diff --git a/icons/48x48/xfce4-netload-plugin.png b/icons/48x48/xfce4-netload-plugin.png new file mode 100644 index 0000000..98e32d7 Binary files /dev/null and b/icons/48x48/xfce4-netload-plugin.png differ diff --git a/icons/Makefile.am b/icons/Makefile.am new file mode 100644 index 0000000..4d6d234 --- /dev/null +++ b/icons/Makefile.am @@ -0,0 +1,15 @@ +SUBDIRS = 24x24 48x48 scalable + +gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor + +install-data-hook: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + $(gtk_update_icon_cache); \ + else \ + echo "*** Icon cache not updated. Remember to run:"; \ + echo "***"; \ + echo "*** $(gtk_update_icon_cache)"; \ + echo "***"; \ + fi + diff --git a/icons/scalable/Makefile.am b/icons/scalable/Makefile.am new file mode 100644 index 0000000..5f3d98f --- /dev/null +++ b/icons/scalable/Makefile.am @@ -0,0 +1,6 @@ +iconsdir = $(datadir)/icons/hicolor/scalable/apps +icons_DATA = \ + xfce4-netload-plugin.svg + +EXTRA_DIST = \ + $(icons_DATA) diff --git a/icons/scalable/xfce4-netload-plugin.svg b/icons/scalable/xfce4-netload-plugin.svg new file mode 100644 index 0000000..fe11326 --- /dev/null +++ b/icons/scalable/xfce4-netload-plugin.svg @@ -0,0 +1,969 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/panel-plugin/netload.desktop.in.in b/panel-plugin/netload.desktop.in.in index 7779785..6e5e57f 100644 --- a/panel-plugin/netload.desktop.in.in +++ b/panel-plugin/netload.desktop.in.in @@ -3,6 +3,6 @@ Type=X-XFCE-PanelPlugin Encoding=UTF-8 _Name=Network Monitor _Comment=Show network traffic -Icon=xfce-mouse +Icon=xfce4-netload-plugin X-XFCE-Exec=@PLUGIN_PATH@/xfce4-netload-plugin