<br><br><div><span class="gmail_quote">On 10/05/07, <b class="gmail_sendername">Matthew East</b> <<a href="mailto:mdke@ubuntu.com">mdke@ubuntu.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;">
-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Hi,<br><br>* Will Simpson:<br>><br>><br>> On 5/9/07, *Philip Wyett* <<a href="mailto:philip.wyett@gmail.com">philip.wyett@gmail.com</a><br>> <mailto:
<a href="mailto:philip.wyett@gmail.com">philip.wyett@gmail.com</a>>> wrote:<br>><br>>     Hi all,<br>><br>>     Is there a preferred method for indicating menu navigation in the<br>>     xml docs?<br>
><br>>     Two popular methods are e.g for navigation to 'Applications -><br>>     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>><br>> The first method is preferred. The &terminal; refers to a section in the<br>> file ../../lib/gnome-menus-C.ent. This file contains all or most of the
<br>> menu mappings in Ubuntu. This is done so if an item is moved from one<br>> menu to another the change is trivial. Otherwise every instance of a<br>> reference to the menu item would have to searched for an changed.
<br><br>That's right. If there is an entity defined in gnome-menus-C.ent, then<br>we should use it.<br><br>Note that in the end, the methods are in fact the same, because the<br>entity in the first method simply expands to the <menuchoice> expression
<br>you've cited in the second method, if that makes sense!<br><br>Matt</blockquote><div><br>Yes it does make sense. Having a look at the gnome-menus-C.ent to have a<br>look whats what, these are essentially define macros.
<br><br>Thanks for the confirmation. I can now push on with what I was looking at doing.<br><br>Regards<br><br>Phil<br></div><br></div><br>