<Root>

  <commands>   <!-- Alphabetical by name, yo -->

    <cmd name="EmptyTrash"
     _tip="Permanently remove all deleted messages from all folders"/>

    <cmd name="MailStop"
     _tip="Cancel the current mail operation"
     pixtype="stock" pixname="gtk-stop"/>

    <cmd name="FolderCreate"
     _tip="Create a new folder for storing mail"
     pixtype="pixbuf"/>

    <cmd name="FolderCopy"
     _tip="Copy the selected folder into another folder"
     pixtype="pixbuf"/>

    <cmd name="FolderMove"
     _tip="Move the selected folder into another folder"
     pixtype="pixbuf"/>

    <cmd name="ToolsFilters"
     _tip="Create or edit rules for filtering new mail"/>

    <cmd name="ToolsSubscriptions"
     _tip="Subscribe or unsubscribe to folders on remote servers"/>

    <cmd name="ToolsVFolders"
     _tip="Create or edit Search Folder definitions"/>

    <cmd name="ViewPreview"
     _tip="Show message preview window"
     accel="*Control*m"
     type="toggle"/>

    <cmd name="ViewBelow" _label="_Classic View" 
      type="radio" group="preview_display" _tip="Show message preview below the message list"/>

    <cmd name="ViewAfter" _label="_Vertical View" 
     type="radio" group="preview_display" _tip="Show message preview side-by-side with the message list"/>

    <cmd name="PrepareForOffline" _label="_Download Messages for Offline Usage" _tip="Download messages of accounts/folders marked for offline"/>
    <cmd name="HelpDebug" _tip="View the debug console for log messages"/>

  </commands>

  <keybindings>
	  <accel name="slash" id="FocusSearch"/>
  </keybindings>

  <menu>

    <submenu name="File">
      <placeholder name="EmptyTrashPlaceholder">
      <menuitem name="EmptyTrash" verb="" _label="Empty _Trash"/>
      <menuitem name="PrepareForOffline" verb="" _label="_Download Messages for Offline Usage"/>
     </placeholder>
    </submenu>

    <submenu name="View" _label="_View">
      <placeholder name="ViewPreview">	    
      <submenu name="Preview" _label="_Preview">	    
        <menuitem name="ViewPreview" verb="" _label="Show Message _Preview"/>
	<separator name="previewsep"/>
	<menuitem name="ViewBelow" id="ViewBelow" _label="_Classic View"/>
	<menuitem name="ViewAfter" id="ViewAfter" _label="_Vertical View"/>
      </submenu>
      </placeholder>
      <separator f="" name="emailglobal"/>
      <placeholder name="MailMessageFilter"/>
      <placeholder name="MailMessageView"/>

<!-- This is the menu we want to replace "Current View" with
      <submenu name="ViewAs" _label="Message _List As">
        <placeholder name="CurrentView"/>
      </submenu>
-->
      
      <placeholder name="MailViewType">
        <separator f="" name="MailViewOps"/>
      </placeholder>

      <placeholder name="MailMessageZoom"/>
      <placeholder name="MailListView"/>
    </submenu>

    <submenu name="Edit">
      <placeholder name="EditPlaceholder">
        <placeholder name="MailListEdit"/>
        <placeholder name="MailMessageEdit"/>
        <placeholder name="MailListEditFlags"/>
      </placeholder>

      <placeholder name="MailFilterTools">
        <menuitem name="ToolsFilters" verb="" _label="_Message Filters"/>
      </placeholder>

      <placeholder name="MailVFolderTools">
        <menuitem name="ToolsVFolders" verb="" _label="Search F_olders"/>
      </placeholder>
    </submenu>

    <placeholder name="FolderPlaceholder">
      <submenu name="Folder" _label="F_older">

        <menuitem name="FolderCreate" verb="" _label="_New..."/>
<!--
        <menuitem name="CreateVFolder" verb="CreateVFolder" _label="_New Search _Folder (FIXME)"/>
-->
        <menuitem name="ToolsSubscriptions" verb="" _label="_Subscriptions"/>

 	<separator f="" name="Folder1"/>

        <menuitem name="FolderCopy" verb="" _label="_Copy Folder To..."/>
        <menuitem name="FolderMove" verb="" _label="_Move Folder To..."/>

 	<separator f="" name="Folder2"/>

        <placeholder name="MessagesInFolder"/>

 	<separator f="" name="Folder3"/>

 	<placeholder name="FolderOps"/>        

      </submenu>
    </placeholder>
    <submenu name="Help" _label="_Help">
	    <placeholder name="PlaceHolderDebug">
		    <menuitem name="HelpDebug" verb="" _label="_Debug Logs"/>
	    </placeholder>
   </submenu>
  </menu>

  <dockitem name="Toolbar">

    <placeholder name="MailMessageToolbar"/>

    <toolitem name="MailStop" verb=""
     _label="Cancel"/>

    <separator f="" name="emailglobal1"/>

    <placeholder name="MailNextButtons"/>

  </dockitem>

</Root>
