From 4a9c10288ab7dcd26c667c5d8fefbbc44e8c4cf3 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 4 Jan 2016 17:50:08 +0300 Subject: stickynotes: new icon names and paths + fix deprecations adapted from https://git.gnome.org/browse/gnome-applets/commit/?id=76982eb73ce1bd912cc19a55d3b6682b9da93687 --- stickynotes/pixmaps/Makefile.am | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'stickynotes/pixmaps/Makefile.am') diff --git a/stickynotes/pixmaps/Makefile.am b/stickynotes/pixmaps/Makefile.am index 837ecbb8..c5c39781 100644 --- a/stickynotes/pixmaps/Makefile.am +++ b/stickynotes/pixmaps/Makefile.am @@ -1,12 +1,11 @@ ## Process this file with automake to produce Makefile.in -stickynotes_applet_pixmapsdir = $(datadir)/pixmaps/mate-stickynotes -stickynotes_applet_pixmaps_DATA = \ - locked.png \ - unlocked.png \ - close.png \ - resize_se.png \ - resize_sw.png +app_icons = \ + stickynotes-stock-locked.png \ + stickynotes-stock-unlocked.png \ + stickynotes-stock-close.png \ + stickynotes-stock-resize-se.png \ + stickynotes-stock-resize-sw.png icons = \ mate-sticky-notes-applet.16.png \ @@ -16,7 +15,7 @@ icons = \ mate-sticky-notes-applet.svg EXTRA_DIST = \ - $(stickynotes_applet_pixmaps_DATA) \ + $(app_icons) \ $(icons) gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor @@ -33,6 +32,9 @@ uninstall-local: fi; \ rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \ done + for icon in $(app_icons); do \ + rm -f $(DESTDIR)$(pkgdatadir)/icons/hicolor/48x48/apps/$$icon; \ + done @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ @@ -54,6 +56,10 @@ install-data-local: mkdir -p $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/; \ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \ done + for icon in $(app_icons); do \ + mkdir -p $(DESTDIR)$(pkgdatadir)/icons/hicolor/48x48/apps/; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/hicolor/48x48/apps/$$icon; \ + done @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ -- cgit v1.2.1