widget-factory: add icon
@ -28,6 +28,36 @@ gtk3_widget_factory_LDADD = \
|
||||
widget_factory_resources.c: widget-factory.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/widget-factory.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
|
||||
|
||||
|
||||
iconthemedir = $(datadir)/icons/hicolor
|
||||
|
||||
appsicon16dir = $(iconthemedir)/16x16/apps
|
||||
appsicon22dir = $(iconthemedir)/22x22/apps
|
||||
appsicon24dir = $(iconthemedir)/24x24/apps
|
||||
appsicon32dir = $(iconthemedir)/32x32/apps
|
||||
appsicon48dir = $(iconthemedir)/48x48/apps
|
||||
appsicon256dir = $(iconthemedir)/256x256/apps
|
||||
|
||||
dist_appsicon16_DATA = data/16x16/gtk3-widget-factory.png
|
||||
dist_appsicon22_DATA = data/22x22/gtk3-widget-factory.png
|
||||
dist_appsicon24_DATA = data/24x24/gtk3-widget-factory.png
|
||||
dist_appsicon32_DATA = data/32x32/gtk3-widget-factory.png
|
||||
dist_appsicon48_DATA = data/48x48/gtk3-widget-factory.png
|
||||
dist_appsicon256_DATA = data/256x256/gtk3-widget-factory.png
|
||||
|
||||
update_icon_cache = gtk-update-icon-cache --ignore-theme-index --force
|
||||
|
||||
install-data-hook: install-update-icon-cache
|
||||
uninstall-hook: uninstall-update-icon-cache
|
||||
|
||||
install-update-icon-cache:
|
||||
$(AM_V_at)$(POST_INSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
uninstall-update-icon-cache:
|
||||
$(AM_V_at)$(POST_UNINSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
EXTRA_DIST += \
|
||||
widget-factory.ui \
|
||||
widget-factory.gresource.xml \
|
||||
|
BIN
demos/widget-factory/data/16x16/gtk3-widget-factory.png
Normal file
After Width: | Height: | Size: 550 B |
BIN
demos/widget-factory/data/22x22/gtk3-widget-factory.png
Normal file
After Width: | Height: | Size: 685 B |
BIN
demos/widget-factory/data/24x24/gtk3-widget-factory.png
Normal file
After Width: | Height: | Size: 750 B |
BIN
demos/widget-factory/data/256x256/gtk3-widget-factory.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
demos/widget-factory/data/32x32/gtk3-widget-factory.png
Normal file
After Width: | Height: | Size: 963 B |
BIN
demos/widget-factory/data/48x48/gtk3-widget-factory.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
demos/widget-factory/data/512x512/gtk3-widget-factory.png
Normal file
After Width: | Height: | Size: 24 KiB |
4854
demos/widget-factory/data/source.svg
Normal file
After Width: | Height: | Size: 180 KiB |
@ -2,7 +2,7 @@
|
||||
Name=Widget Factory
|
||||
Comment=A showcase for GTK+ widgets, designed for testing themes.
|
||||
Exec=gtk3-widget-factory
|
||||
Icon=
|
||||
Icon=gtk3-widget-factory
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
|