<ui>
  <menubar>
    <menu name="File" action="FileAction">
      <menu name="FileNewMenu" action="FileNewMenuAction">
        <placeholder name="FileNewBottonPlaceholder">
          <menuitem name="FileNewAccount" action="FileNewAccountAction"/>
          <menuitem name="FileAddAccountHierarchyDruid" action="FileAddAccountHierarchyDruidAction"/>
        </placeholder>
      </menu>
      <menu name="FileOpenMenu" action="FileOpenMenuAction">
        <placeholder name="FileOpenBottomPlaceholder">
          <menuitem name="FileOpenAccount" action="FileOpenAccountAction"/>
          <menuitem name="FileOpenSubaccounts" action="FileOpenSubaccountsAction"/>
        </placeholder>
      </menu>
    </menu>
    <menu name="Edit" action="EditAction">
      <placeholder name="EditSelectedPlaceholder">
        <menuitem name="EditEditAccount" action="EditEditAccountAction"/>
	<menuitem name="EditDeleteAccount" action="EditDeleteAccountAction"/>
      </placeholder>
      <menuitem name="EditAccountViewOptions" action="EditAccountViewOptionsAction"/>
    </menu>
    <menu name="Actions" action="ActionsAction">
      <placeholder name="ActionsPlaceholder">
        <separator name="ActionsSep1"/>
	<menuitem name="ActionsTransfer" action="ActionsTransferAction"/>
	<menuitem name="ActionsReconcile" action="ActionsReconcileAction"/>
	<menuitem name="ActionsStockSplit" action="ActionsStockSplitAction"/>
	<menuitem name="ActionLots" action="ActionsLotsAction"/>
	<separator name="ActionsSep2"/>
	<menu name="ScrubMenu" action="ScrubMenuAction">
	  <menuitem name="Scrub" action="ScrubAction"/>
	  <menuitem name="ScrubSub" action="ScrubSubAction"/>
	  <menuitem name="ScrubAll" action="ScrubAllAction"/>
	</menu>
      </placeholder>
    </menu>
  </menubar>

  <popup name="MainPopup" action="FakeToplevel">
    <placeholder name="PopupPlaceholder1">
      <menuitem name="PopupOptions" action="PopupOptionsAction"/>
    </placeholder>
    <placeholder name="PopupPlaceholder2">
      <menuitem name="AccountOpenAccount" action="FileOpenAccountAction"/>
      <menuitem name="AccountOpenSubaccounts" action="FileOpenSubaccountsAction"/>
      <menuitem name="AccountEditAccount" action="EditEditAccountAction"/>
      <separator name="AccountSep1"/>
      <menuitem name="AccountReconcile" action="ActionsReconcileAction"/>
      <menuitem name="AccountTransfer" action="ActionsTransferAction"/>
      <menuitem name="AccountStockSplit" action="ActionsStockSplitAction"/>
      <menuitem name="AccountLots" action="ActionsLotsAction"/>
      <separator name="AccountSep2"/>
      <menuitem name="AccountNewAccount" action="FileNewAccountAction"/>
      <menuitem name="AccountDeleteAccount" action="EditDeleteAccountAction"/>
      <separator name="AccountSep3"/>
    </placeholder>
    <placeholder name="PopupBottomPlaceholder">
      <menu name="ScrubMenu" action="ScrubMenuAction">
        <menuitem name="Scrub" action="ScrubAction"/>
        <menuitem name="ScrubSub" action="ScrubSubAction"/>
        <menuitem name="ScrubAll" action="ScrubAllAction"/>
      </menu>
    </placeholder>
  </popup>

  <toolbar name="DefaultToolbar">
    <placeholder name="DefaultToolbarPlaceholder">
      <separator name="ToolbarSep2"/>
      <toolitem name="ToolbarOpenAccount" action="FileOpenAccountAction"/>
      <toolitem name="ToolbarEditAccount" action="EditEditAccountAction"/>
      <separator name="ToolbarSep3"/>
      <toolitem name="ToolbarAccountViewOptions" action="EditAccountViewOptionsAction"/>
      <separator name="ToolbarSep4"/>
      <toolitem name="ToolbarNewAccount" action="FileNewAccountAction"/>
      <toolitem name="ToolbarDeleteAccount" action="EditDeleteAccountAction"/>
    </placeholder>
  </toolbar>
</ui>
