<br><br><div><span class="gmail_quote">On 5/9/07, <b class="gmail_sendername">Philip Wyett</b> <<a href="mailto:philip.wyett@gmail.com">philip.wyett@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>Is there a preferred method for indicating menu navigation in the xml docs?<br><br>Two popular methods are e.g for navigation to 'Applications -> Accessories -> Terminal' are:<br><br>1. &terminal;
<br><br>e.g.<br><br><para>The terminal can be found and started at &terminal;</para><br><br>2. <menuchoice> etc.<br><br>e.g.<br><br><para>The terminal can be found and started at <br> <menuchoice>
<br> <guimenu>Applications</guimenu><br> <guisubmenu>Accessories</guisubmenu><br> <guimenuitem>Terminal</guimenuitem><br> </menuchoice><br></para><br><br>
Yours thoughts and preferences would be welcome.
<br><br>Regards<br><br>Phil<br>
<br></blockquote></div><br>The first method is preferred. The &terminal; refers to a section in the file ../../lib/gnome-menus-C.ent. This file contains all or most of the menu mappings in Ubuntu. This is done so if an item is moved from one menu to another the change is trivial. Otherwise every instance of a reference to the menu item would have to searched for an changed.
<br clear="all"><br>Will<br>-- <br><a href="http://willsimpson.org">http://willsimpson.org</a><br>Moscow, Idaho<br>gnupg public key :: 1024D/F0E55A06