Skip to content

Commit

Permalink
retire fullcolor action icons
Browse files Browse the repository at this point in the history
- step1 -- move to legacy context

See Issue #15 for more context
  • Loading branch information
jimmac committed Oct 19, 2018
1 parent dfb8528 commit 8d12f0a
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 26 deletions.
Binary file removed Adwaita/16x16/actions/application-exit.png
Binary file not shown.
Binary file added Adwaita/16x16/legacy/application-exit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Adwaita/22x22/actions/application-exit.png
Binary file not shown.
Binary file added Adwaita/22x22/legacy/application-exit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Adwaita/24x24/actions/application-exit.png
Binary file not shown.
Binary file added Adwaita/24x24/legacy/application-exit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Adwaita/32x32/actions/application-exit.png
Binary file not shown.
Binary file added Adwaita/32x32/legacy/application-exit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Adwaita/48x48/actions/application-exit.png
Binary file not shown.
Binary file added Adwaita/48x48/legacy/application-exit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion Makefile.am
Expand Up @@ -29,7 +29,7 @@ endif
theme_in_files = index.theme.in
theme_DATA = $(theme_in_files:.theme.in=.theme)

THEME_DIRS=$(shell SIZES="$(install_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done; echo "scalable/actions,scalable/apps,scalable/categories,scalable/devices,scalable/emblems,scalable/emotes,scalable/mimetypes,scalable/places,scalable/status,scalable-up-to-32/status,")
THEME_DIRS=$(shell SIZES="$(install_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done; echo "scalable/actions,scalable/apps,scalable/categories,scalable/devices,scalable/emblems,scalable/emotes,scalable/mimetypes,scalable/places,scalable/status,scalable/legacy,scalable-up-to-32/status,")

%.theme: %.theme.in $(SVGOUTDIR) Makefile
dirs="`echo $(THEME_DIRS) | sed -e 's#$(srcdir)/Adwaita/##g'`"; \
Expand Down Expand Up @@ -78,6 +78,9 @@ THEME_DIRS=$(shell SIZES="$(install_sizes)"; for size in $$SIZES; do for dir in
if test "$$context" = "status"; then \
echo "Context=Status" >> $@; \
fi; \
if test "$$context" = "legacy"; then \
echo "Context=Legacy" >> $@; \
fi; \
echo "Size=$$size" >> $@; \
if test "$$sizefull" = "scalable"; then \
echo "MinSize=8" >> $@; \
Expand Down
3 changes: 1 addition & 2 deletions render-icon-theme.py
Expand Up @@ -5,7 +5,6 @@
import xml.sax
import subprocess

INKSCAPE = '/usr/bin/inkscape'
OPTIPNG = '/usr/bin/optipng'
ZOPFLIPNG = '/usr/bin/zopflipng'
SRC = os.path.join('.', 'src', 'fullcolor')
Expand Down Expand Up @@ -36,7 +35,7 @@ def wait_for_prompt(process, command=None):
output = output[1:]

def start_inkscape():
process = subprocess.Popen([INKSCAPE, '--shell'], bufsize=0, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
process = subprocess.Popen(['flatpak','run','org.inkscape.Inkscape','--shell'], bufsize=0, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
wait_for_prompt(process)
return process

Expand Down
49 changes: 26 additions & 23 deletions src/fullcolor/application-exit.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d12f0a

Please sign in to comment.