Add an example for settings<>action integration

Turn the 'color' action in gtk3-demo-application into an
action that is backed by a setting.
This commit is contained in:
Matthias Clasen
2012-01-24 00:07:03 -05:00
parent 0363a7a2e3
commit 3104e5d2c1
4 changed files with 34 additions and 5 deletions

View File

@ -77,7 +77,13 @@ EXTRA_DIST += \
application.ui \
menus.ui \
gtk-logo-24.png \
gtk-logo-48.png
gtk-logo-48.png \
org.gtk.Demo.gschema.xml
gsettings_SCHEMAS = \
org.gtk.Demo.gschema.xml
@GSETTINGS_RULES@
demos.h: @REBUILD@ $(demos) geninclude.pl
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h