cookbook: Moved paragraph where it logically belongs
authorElliot Smith <elliot.smith@intel.com>
Tue, 6 Jul 2010 15:11:46 +0000 (16:11 +0100)
committerElliot Smith <elliot.smith@intel.com>
Tue, 6 Jul 2010 16:20:34 +0000 (17:20 +0100)
There was a note about constants for keys and
where they are defined in Clutter header files; but
the sentence about where key modifiers are defined
was outside the note. Logically, they belong
together.

doc/cookbook/events.xml

index ae17af2..d47ad19 100644 (file)
@@ -138,18 +138,20 @@ _key_press_cb (ClutterActor *actor,
           </programlisting>
         </informalexample>
 
-        <note><para>Clutter provides a range of key value definitions
-        (like <constant>CLUTTER_Up</constant>, used above). These are
-        generated from the list in the
-        <ulink url="http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h">X.Org source code</ulink>
-        (replace "XK" with "CLUTTER" in the definitions there to get the
-        CLUTTER equivalents; alternatively, look at the
-        <filename>clutter-keysyms.h</filename> header file for the
-        list).</para></note>
-
-        <para><constant>CLUTTER_SHIFT_MASK</constant>,
-        <constant>CLUTTER_CONTROL_MASK</constant> and other modifiers are
-        defined in the <type>ClutterModifierType</type> enum.</para>
+        <note>
+          <para>Clutter provides a range of key value definitions
+          (like <constant>CLUTTER_Up</constant>, used above). These are
+          generated from the list in the
+          <ulink url="http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h">X.Org source code</ulink>
+          (replace "XK" with "CLUTTER" in the definitions there to get the
+          CLUTTER equivalents; alternatively, look at the
+          <filename>clutter-keysyms.h</filename> header file for the
+          list).</para>
+
+          <para><constant>CLUTTER_SHIFT_MASK</constant>,
+          <constant>CLUTTER_CONTROL_MASK</constant> and other modifiers are
+          defined in the <type>ClutterModifierType</type> enum.</para>
+        </note>
 
       </section>