summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2003-09-04 09:07:23 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-09-04 09:07:23 +0000
commit6c227b5a659d47c275f1a8bb0866a42fb4dcfe0b (patch)
tree69526e83648ae293a8fc0863c77c06209311615a /docs
parent0a163c7fd7aa6c75c1e4bfb7201380399ad8a750 (diff)
downloadgdk-pixbuf-6c227b5a659d47c275f1a8bb0866a42fb4dcfe0b.tar.gz
Use "position" instead of "pos".
* tests/merge-2.ui: Use "position" instead of "pos". * gtk/gtkuimanager.c (start_element_handler): No need to be terse: Change the name of the "pos" attribute to "position". * gtk/tmpl/gtkuimanager.sgml: Change the name of the "pos" attribute to "position".
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ChangeLog3
-rw-r--r--docs/reference/gtk/tmpl/gtkuimanager.sgml28
2 files changed, 17 insertions, 14 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 42f8b085a..6110c32c7 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,5 +1,8 @@
2003-09-04 Matthias Clasen <maclas@gmx.de>
+ * gtk/tmpl/gtkuimanager.sgml: Change the name of the "pos"
+ attribute to "position".
+
* gtk/tmpl/gtkactiongroup.sgml: Doc tweaks.
2003-09-02 Matthias Clasen <maclas@gmx.de>
diff --git a/docs/reference/gtk/tmpl/gtkuimanager.sgml b/docs/reference/gtk/tmpl/gtkuimanager.sgml
index 5d845fea1..012166f84 100644
--- a/docs/reference/gtk/tmpl/gtkuimanager.sgml
+++ b/docs/reference/gtk/tmpl/gtkuimanager.sgml
@@ -24,19 +24,19 @@ roughly described by the following DTD.
&lt;!ELEMENT menuitem EMPTY &gt;
&lt;!ELEMENT toolitem EMPTY &gt;
&lt;!ELEMENT separator EMPTY &gt;
-&lt;!ATTLIST menubar name &num;IMPLIED &gt;
-&lt;!ATTLIST toolbar name &num;IMPLIED &gt;
-&lt;!ATTLIST popup name &num;IMPLIED &gt;
-&lt;!ATTLIST placeholder name &num;IMPLIED &gt;
-&lt;!ATTLIST menu name &num;IMPLIED
- action &num;REQUIRED
- pos (top|bot) &num;IMPLIED &gt;
-&lt;!ATTLIST menuitem name &num;IMPLIED
- action &num;REQUIRED
- pos (top|bot) &num;IMPLIED &gt;
-&lt;!ATTLIST toolitem name &num;IMPLIED
- action &num;REQUIRED
- pos (top|bot) &num;IMPLIED &gt;
+&lt;!ATTLIST menubar name &num;IMPLIED &gt;
+&lt;!ATTLIST toolbar name &num;IMPLIED &gt;
+&lt;!ATTLIST popup name &num;IMPLIED &gt;
+&lt;!ATTLIST placeholder name &num;IMPLIED &gt;
+&lt;!ATTLIST menu name &num;IMPLIED
+ action &num;REQUIRED
+ position (top|bot) &num;IMPLIED &gt;
+&lt;!ATTLIST menuitem name &num;IMPLIED
+ action &num;REQUIRED
+ position (top|bot) &num;IMPLIED &gt;
+&lt;!ATTLIST toolitem name &num;IMPLIED
+ action &num;REQUIRED
+ position (top|bot) &num;IMPLIED &gt;
</programlisting>
There are some additional restrictions beyond those specified in the
DTD, e.g. every toolitem must have a toolbar in its anchestry and
@@ -108,7 +108,7 @@ action</para></listitem>
</variablelist>
</para>
<para>
-The pos attribute determines where a constructed widget is positioned
+The "position" attribute determines where a constructed widget is positioned
wrt. to its siblings in the partially constructed tree. If it is
"top", the widget is prepended, otherwise it is appended.
</para>