From b838c8c828d2d4e988b10b18f5f734f29bcac28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Wed, 29 Jul 2015 10:00:19 +0200 Subject: Fix missing icons on GTK3 with custom icon theme --- icons/Makefile.am | 59 ++++++++++++++++++++++++++ icons/hicolor_apps_16x16_mate.png | Bin 0 -> 774 bytes icons/hicolor_apps_22x22_mate.png | Bin 0 -> 1323 bytes icons/hicolor_apps_24x24_mate.png | Bin 0 -> 1511 bytes icons/hicolor_apps_256x256_mate.png | Bin 0 -> 31357 bytes icons/hicolor_apps_32x32_mate.png | Bin 0 -> 2180 bytes icons/hicolor_apps_48x48_mate.png | Bin 0 -> 4164 bytes icons/hicolor_apps_scalable_mate-symbolic.svg | 24 +++++++++++ 8 files changed, 83 insertions(+) create mode 100644 icons/Makefile.am create mode 100644 icons/hicolor_apps_16x16_mate.png create mode 100644 icons/hicolor_apps_22x22_mate.png create mode 100644 icons/hicolor_apps_24x24_mate.png create mode 100644 icons/hicolor_apps_256x256_mate.png create mode 100644 icons/hicolor_apps_32x32_mate.png create mode 100644 icons/hicolor_apps_48x48_mate.png create mode 100644 icons/hicolor_apps_scalable_mate-symbolic.svg (limited to 'icons') diff --git a/icons/Makefile.am b/icons/Makefile.am new file mode 100644 index 0000000..786bb26 --- /dev/null +++ b/icons/Makefile.am @@ -0,0 +1,59 @@ +NULL = + +public_icons_themes = \ + hicolor \ + $(NULL) + +public_icons = \ + hicolor_apps_16x16_mate.png \ + hicolor_apps_22x22_mate.png \ + hicolor_apps_24x24_mate.png \ + hicolor_apps_32x32_mate.png \ + hicolor_apps_48x48_mate.png \ + hicolor_apps_256x256_mate.png \ + hicolor_apps_scalable_mate-symbolic.svg \ + $(NULL) + +EXTRA_DIST = \ + $(public_icons) \ + $(NULL) + +############################################################################### + +gtk_update_icon_cache = gtk-update-icon-cache -f -t + +update-icon-cache: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + for theme in $(public_icons_themes); do \ + $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \ + done; \ + else \ + echo "*** Icon cache not updated. After (un)install, run this:"; \ + for theme in $(public_icons_themes); do \ + echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \ + done; \ + fi + +install-icons: + for icon in $(public_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + +uninstall-icons: + -for icon in $(public_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + +install-data-local: install-icons update-icon-cache + +uninstall-local: uninstall-icons update-icon-cache diff --git a/icons/hicolor_apps_16x16_mate.png b/icons/hicolor_apps_16x16_mate.png new file mode 100644 index 0000000..0a34149 Binary files /dev/null and b/icons/hicolor_apps_16x16_mate.png differ diff --git a/icons/hicolor_apps_22x22_mate.png b/icons/hicolor_apps_22x22_mate.png new file mode 100644 index 0000000..1fd92a8 Binary files /dev/null and b/icons/hicolor_apps_22x22_mate.png differ diff --git a/icons/hicolor_apps_24x24_mate.png b/icons/hicolor_apps_24x24_mate.png new file mode 100644 index 0000000..2065bea Binary files /dev/null and b/icons/hicolor_apps_24x24_mate.png differ diff --git a/icons/hicolor_apps_256x256_mate.png b/icons/hicolor_apps_256x256_mate.png new file mode 100644 index 0000000..9708cdd Binary files /dev/null and b/icons/hicolor_apps_256x256_mate.png differ diff --git a/icons/hicolor_apps_32x32_mate.png b/icons/hicolor_apps_32x32_mate.png new file mode 100644 index 0000000..2a6a192 Binary files /dev/null and b/icons/hicolor_apps_32x32_mate.png differ diff --git a/icons/hicolor_apps_48x48_mate.png b/icons/hicolor_apps_48x48_mate.png new file mode 100644 index 0000000..d00c802 Binary files /dev/null and b/icons/hicolor_apps_48x48_mate.png differ diff --git a/icons/hicolor_apps_scalable_mate-symbolic.svg b/icons/hicolor_apps_scalable_mate-symbolic.svg new file mode 100644 index 0000000..776a8dd --- /dev/null +++ b/icons/hicolor_apps_scalable_mate-symbolic.svg @@ -0,0 +1,24 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + -- cgit v1.2.1