Commit acb47862 authored by Morten Welinder's avatar Morten Welinder

win32: install a fake index.theme for hicolor

parent 74cb22c5
......@@ -19,11 +19,19 @@ icons_DATA = \
gnumeric-about.png \
stf-druid.png
EXTRA_DIST = $(icons_DATA) $(mimeicon_DATA)
EXTRA_DIST = $(icons_DATA) $(mimeicon_DATA) fake-index-theme
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
fake_index_theme_target =
if WITH_WIN32
fake_index_theme_target += install-fake-index-theme
install-fake-index-theme: fake-index-theme
install -m 0644 fake-index-theme $(datadir)/icons/hicolor/index.theme
endif
install-data-hook: update-icon-cache $(fake_index_theme_target)
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
......
[Icon Theme]
Name=Hicolor
Comment=Fallback icon theme
Hidden=true
Directories=16x16/apps,22x22/apps,24x24/apps,32x32/apps,36x36/apps,48x48/apps,64x64/apps,72x72/apps,96x96/apps,128x128/apps,192x192/apps,256x256/apps,scalable/apps
[16x16/apps]
Size=16
Context=Applications
Type=Threshold
[22x22/apps]
Size=22
Context=Applications
Type=Threshold
[24x24/apps]
Size=24
Context=Applications
Type=Threshold
[32x32/apps]
Size=32
Context=Applications
Type=Threshold
[36x36/apps]
Size=36
Context=Applications
Type=Threshold
[48x48/apps]
Size=48
Context=Applications
Type=Threshold
[64x64/apps]
Size=64
Context=Applications
Type=Threshold
[72x72/apps]
Size=72
Context=Applications
Type=Threshold
[96x96/apps]
Size=96
Context=Applications
Type=Threshold
[128x128/apps]
Size=128
Context=Applications
Type=Threshold
[192x192/apps]
Size=192
Context=Applications
Type=Threshold
[256x256/apps]
Size=256
Context=Applications
Type=Threshold
[scalable/apps]
MinSize=32
Size=48
MaxSize=256
Context=Applications
Type=Scalable
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment