cookbook: Use nicknames for enumeration values
authorElliot Smith <elliot.smith@intel.com>
Fri, 27 Aug 2010 14:29:09 +0000 (15:29 +0100)
committerElliot Smith <elliot.smith@intel.com>
Fri, 27 Aug 2010 14:29:15 +0000 (15:29 +0100)
commit79a4dbb32908043223e0d5a085214850166124f5
tree313cb441c1d4c8f3347739f1b2c6c0450b19cc65
parent2c3ca20cdc3299e239388f75b583e2afb7437b47
cookbook: Use nicknames for enumeration values

GEnum nicknames can be used to set properties in JSON
definitions, so added a callout to the JSON example explaining
this, and showing how to derive the nickname for an enumeration
value.

Modified the example code to use nicknames as well.
doc/cookbook/examples/script-ui.json
doc/cookbook/script.xml