summaryrefslogtreecommitdiff
path: root/capplets/default-applications/icons/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-06-12 18:57:36 +0200
committerraveit65 <[email protected]>2019-06-13 21:53:50 +0200
commitf24706f2e0a37d0dbdb0a08a7e8442e4f26bbe43 (patch)
tree326898aa5d22965d54acad2a3f52beceb853d6d3 /capplets/default-applications/icons/Makefile.am
parent16b899df41603d6750a02f00253f61d3f22e9a77 (diff)
downloadmate-control-center-f24706f2e0a37d0dbdb0a08a7e8442e4f26bbe43.tar.bz2
mate-control-center-f24706f2e0a37d0dbdb0a08a7e8442e4f26bbe43.tar.xz
Change the icon for instant messaging application
Icons pulled from https://pagure.io/im-chooser/blob/master/f/data
Diffstat (limited to 'capplets/default-applications/icons/Makefile.am')
-rw-r--r--capplets/default-applications/icons/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/capplets/default-applications/icons/Makefile.am b/capplets/default-applications/icons/Makefile.am
new file mode 100644
index 00000000..10b12e63
--- /dev/null
+++ b/capplets/default-applications/icons/Makefile.am
@@ -0,0 +1,24 @@
+iconsdir = $(datadir)/icons/hicolor
+
+nobase_dist_icons_DATA = \
+ 16x16/categories/instant-messaging.png \
+ 22x22/categories/instant-messaging.png \
+ 24x24/categories/instant-messaging.png \
+ 32x32/categories/instant-messaging.png \
+ 48x48/categories/instant-messaging.png \
+ 256x256/categories/instant-messaging.png
+
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir)
+
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache
+update-icon-cache:
+ @-if test -z "$(DESTDIR)"; then \
+ echo "Updating Gtk icon cache."; \
+ $(gtk_update_icon_cache); \
+ else \
+ echo "*** Icon cache not updated. After install, run this:"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ fi
+
+-include $(top_srcdir)/git.mk