demo: lookup icons on uninstalled demo
commit57c2c5f6cb33cb6ca427d79f6021dd4865561b1f
authorNicola Fontana <ntd@entidi.it>
Sun, 21 Oct 2012 22:39:32 +0000 (22 00:39 +0200)
committerNicola Fontana <ntd@entidi.it>
Sun, 21 Oct 2012 22:39:32 +0000 (22 00:39 +0200)
treef448f7b58fac426e336f30cead7663d3a71196fd
parentbbf694d219b15785a9af35f1ab92457bc2874670
demo: lookup icons on uninstalled demo

Added some APIs to search for icons at runtime in pkgdatadir first and
in srcdir after, so uninstalled adg-demo can load icons from srcdir.
Provided necessary settings for windows platforms.

Created icons of different sizes as suggested by GTK+ documentation [0]:
16x16, 32x32, 48x48, 64x64 and 128x128 icons are now included.

[0] http://developer.gnome.org/gtk/stable/GtkWindow.html#gtk-window-set-icon-list
16 files changed:
demo/Makefile.am
demo/adg-128.png [new file with mode: 0644]
demo/adg-16.png [new file with mode: 0644]
demo/adg-32.png [new file with mode: 0644]
demo/adg-48.png [new file with mode: 0644]
demo/adg-64.png
demo/adg-demo.c
demo/adg-demo.ui.in
demo/cpml-demo.c
demo/demo.c [deleted file]
demo/demo.h [deleted file]
src/adg/Makefile.am
src/adg/adg-gtk-utils.c
src/adg/adg-gtk-utils.h
src/adg/adg-utils.c
src/adg/adg-utils.h