Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fullcolor & symbolic app icons Fixes issue #6
- Loading branch information
Showing
12 changed files
with
97 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
SUBDIRS = src po help | ||
SUBDIRS = data src po help | ||
|
||
NULL = | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
NULL = | ||
|
||
SUBDIRS = icons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
NULL = | ||
|
||
public_icons_themes = hicolor | ||
|
||
dist_noinst_DATA = \ | ||
hicolor_apps_16x16_org.gnome.Terminal.png \ | ||
hicolor_apps_22x22_org.gnome.Terminal.png \ | ||
hicolor_apps_24x24_org.gnome.Terminal.png \ | ||
hicolor_apps_32x32_org.gnome.Terminal.png \ | ||
hicolor_apps_48x48_org.gnome.Terminal.png \ | ||
hicolor_apps_512x512_org.gnome.Terminal.png \ | ||
hicolor_apps_symbolic_org.gnome.Terminal-symbolic.svg \ | ||
$(NULL) | ||
|
||
EXTRA_DIST = \ | ||
$(NULL) | ||
|
||
install-public-icons: | ||
for icon in $(dist_noinst_DATA); 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-public-icons: | ||
-for icon in $(dist_noinst_DATA); 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-public-icons | ||
uninstall-local: uninstall-public-icons | ||
|
||
install-data-hook: update-icon-cache | ||
uninstall-hook: update-icon-cache | ||
|
||
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 | ||
|
||
-include $(top_srcdir)/git.mk |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions
32
data/icons/hicolor_apps_symbolic_org.gnome.Terminal-symbolic.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters