summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-08-12 04:03:54 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-08-12 04:03:54 +0000
commit001e629969ded025b55cf82a6ae1dbec68bdb522 (patch)
tree74f269c2f53138e66bc07e70163d0e34e6fc6366 /docs
parente6fdcff1fb9aa22d6a81bb40cd1b71cac998b96c (diff)
downloadgtk+-001e629969ded025b55cf82a6ae1dbec68bdb522.tar.gz
Link to information about allowed action names. (#149620, David Malcolm)
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)
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ChangeLog5
-rw-r--r--docs/reference/gtk/tmpl/gtkuimanager.sgml12
2 files changed, 14 insertions, 3 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 042b7eef58..af21c7c008 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -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.
diff --git a/docs/reference/gtk/tmpl/gtkuimanager.sgml b/docs/reference/gtk/tmpl/gtkuimanager.sgml
index ad93c51b20..dffa7303e9 100644
--- a/docs/reference/gtk/tmpl/gtkuimanager.sgml
+++ b/docs/reference/gtk/tmpl/gtkuimanager.sgml
@@ -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>