]> Pileus Git - ~andy/gtk/commitdiff
Link to information about allowed action names. (#149620, David Malcolm)
authorMatthias Clasen <maclas@gmx.de>
Thu, 12 Aug 2004 04:03:54 +0000 (04:03 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 12 Aug 2004 04:03:54 +0000 (04:03 +0000)
Thu Aug 12 00:02:29 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkaction.c (gtk_action_new): Link to information about
allowed action names.  (#149620, David Malcolm)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/gtk/tmpl/gtkuimanager.sgml
gtk/gtkaction.c

index 56139ec89a8a1525af0fc420b1632b88473b1ae3..d3f50865a6caa36fa33aa05c8535ba4f5b99327e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Aug 12 00:02:29 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaction.c (gtk_action_new): Link to information about
+       allowed action names.  (#149620, David Malcolm)
+
 Wed Aug 11 23:14:25 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtk.symbols: 
index 56139ec89a8a1525af0fc420b1632b88473b1ae3..d3f50865a6caa36fa33aa05c8535ba4f5b99327e 100644 (file)
@@ -1,3 +1,8 @@
+Thu Aug 12 00:02:29 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaction.c (gtk_action_new): Link to information about
+       allowed action names.  (#149620, David Malcolm)
+
 Wed Aug 11 23:14:25 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtk.symbols: 
index 56139ec89a8a1525af0fc420b1632b88473b1ae3..d3f50865a6caa36fa33aa05c8535ba4f5b99327e 100644 (file)
@@ -1,3 +1,8 @@
+Thu Aug 12 00:02:29 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaction.c (gtk_action_new): Link to information about
+       allowed action names.  (#149620, David Malcolm)
+
 Wed Aug 11 23:14:25 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtk.symbols: 
index 56139ec89a8a1525af0fc420b1632b88473b1ae3..d3f50865a6caa36fa33aa05c8535ba4f5b99327e 100644 (file)
@@ -1,3 +1,8 @@
+Thu Aug 12 00:02:29 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaction.c (gtk_action_new): Link to information about
+       allowed action names.  (#149620, David Malcolm)
+
 Wed Aug 11 23:14:25 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtk.symbols: 
index 042b7eef58bc47ebc71321095283b81248a64aba..af21c7c00858da2e22897137294496cdc9fee2f3 100644 (file)
@@ -1,3 +1,8 @@
+Thu Aug 12 00:00:12 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/tmpl/gtkuimanager.sgml: Add some information about
+       allowed values for the name and action attributes.
+
 Wed Aug 11 23:13:02 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtk-sections.txt: Add new GtkAction setters.
index ad93c51b2014bc542597038f0406bae5d90219c7..dffa7303e97858a4ed4bee1e15b068415437eb05 100644 (file)
@@ -51,9 +51,15 @@ There are some additional restrictions beyond those specified in the
 DTD, e.g. every toolitem must have a toolbar in its anchestry and
 every menuitem must have a menubar or popup in its anchestry. Since
 a #GMarkup parser is used to parse the UI description, it must not only
-be valid XML, but valid #GMarkup. If a name is not specified, it defaults 
-to the action. If an action is not specified either, the element name is 
-used.  
+be valid XML, but valid #GMarkup. 
+</para>
+<para>
+If a name is not specified, it defaults to the action. If an action is 
+not specified either, the element name is used. The name and action 
+attributes must not contain '/' characters after parsing (since that 
+would mess up path lookup) and must be usable as XML attributes when 
+enclosed in doublequotes, thus they must not '"' characters or references 
+to the &amp;quot; entity.
 </para>
 <example>
 <title>A UI definition</title>
index 0a37c428d2808ebe22745c416720b9eee7769eb7..687cc1b2632dba29e31ef044d9d26a38a470e8f8 100644 (file)
@@ -365,6 +365,8 @@ gtk_action_init (GtkAction *action)
  * Creates a new #GtkAction object. To add the action to a
  * #GtkActionGroup and set the accelerator for the action,
  * call gtk_action_group_add_action_with_accel().
+ * See <xref linkend="XML-UI"> for information on allowed action
+ * names.
  *
  * Return value: a new #GtkAction
  *