<!--
 * gedit-ui.xml
 * This file is part of gedit
 *
 * Copyright (C) 2005 - Paolo Maggi 
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, 
 * Boston, MA 02111-1307, USA.
 *
 * Modified by the gedit Team, 2005. See the AUTHORS file for a 
 * list of people on the gedit Team.  
 * See the ChangeLog files for a list of changes. 
 *
 * $Id$
-->

<ui>

  <menubar name="MenuBar">
    <menu name="FileMenu" action="File">
      <menuitem name="FileNewMenu" action="FileNew"/>
      <placeholder name="FileOps_1"/>
      <menuitem name="FileOpenMenu" action="FileOpen"/>
      <placeholder name="FileOps_2"/>
      <separator/>
      <menuitem name="FileSaveMenu" action="FileSave"/>
      <menuitem name="FileSaveAsMenu" action="FileSaveAs"/>
      <placeholder name="FileOps_3"/>
      <menuitem name="FileRevertMenu" action="FileRevert"/>
      <placeholder name="FileOps_4"/>
      <separator/>
      <placeholder name="FileOps_5"/>
      <menuitem name="FilePrintPreviewMenu" action="FilePrintPreview"/>
      <menuitem name="FilePrintMenu" action="FilePrint"/>
      <placeholder name="FileRecentsPlaceholder">
        <separator/>
      </placeholder>
      <separator/>
      <menuitem name="FileCloseMenu" action="FileClose"/>
      <menuitem name="FileQuitMenu" action="FileQuit"/>
    </menu>

    <menu name="EditMenu" action="Edit">
      <menuitem name="EditUndoMenu" action="EditUndo"/>
      <menuitem name="EditRedoMenu" action="EditRedo"/>
      <separator/>
      <menuitem name="EditCutMenu" action="EditCut"/>
      <menuitem name="EditCopyMenu" action="EditCopy"/>
      <menuitem name="EditPasteMenu" action="EditPaste"/>
      <menuitem name="EditDeleteMenu" action="EditDelete"/>
      <placeholder name="EditOps_1" /> 
      <separator/>
      <placeholder name="EditOps_2" /> 
      <menuitem name="EditSelectAllMenu" action="EditSelectAll"/>
      <placeholder name="EditOps_3" />
      <separator/>
      <placeholder name="EditOps_4" />
      <separator/>
      <placeholder name="EditOps_5" />
      <separator/>
      <placeholder name="EditOps_6" />
      <separator/>
      <menuitem name="EditPreferencesMenu" action="EditPreferences"/>
    </menu>

    <menu name="ViewMenu" action="View">
      <menuitem name="ViewToolbarMenu" action="ViewToolbar"/>
      <menuitem name="ViewStatusbarMenu" action="ViewStatusbar"/>
      <menuitem name="ViewSidePaneMenu" action="ViewSidePanel"/>
      <menuitem name="ViewBottomPaneMenu" action="ViewBottomPanel"/>
      <separator/>
      <menuitem name="ViewFullscreenMenu" action="ViewFullscreen"/>
      <separator/>
      <menu name="ViewHighlightModeMenu" action="ViewHighlightMode">
        <placeholder name="LanguagesMenuPlaceholder">
        </placeholder>
      </menu>
    </menu>

    <menu name="SearchMenu" action="Search">
      <menuitem name="SearchFindMenu" action="SearchFind"/>
      <menuitem name="SearchFindNextMenu" action="SearchFindNext"/>
      <menuitem name="SearchFindPreviousMenu" action="SearchFindPrevious"/>
      <placeholder name="SearchOps_1" />
      <separator/>
      <placeholder name="SearchOps_2" />
      <separator/>
      <menuitem name="SearchReplaceMenu" action="SearchReplace"/>
      <placeholder name="SearchOps_3" />
      <separator/>
      <placeholder name="SearchOps_4" />
      <separator/>
      <menuitem name="SearchClearHighlight" action="SearchClearHighlight"/>      
      <placeholder name="SearchOps_5" />
      <separator/>
      <placeholder name="SearchOps_6" />
      <separator/>
      <menuitem name="SearchGoToLineMenu" action="SearchGoToLine"/>      
      <placeholder name="SearchOps_7" />
      <separator/>
      <placeholder name="SearchOps_8" />
    </menu>

    <menu name="ToolsMenu" action="Tools">
      <placeholder name="ToolsOps_1" />
      <separator/>
      <placeholder name="ToolsOps_2" />
      <separator/>
      <placeholder name="ToolsOps_3" />
      <separator/>
      <placeholder name="ToolsOps_4" />
      <separator/>
      <placeholder name="ToolsOps_5" />
    </menu>

    <placeholder name="ExtraMenu_1" />

    <menu name="DocumentsMenu" action="Documents">
      <menuitem action="FileSaveAll" />
      <menuitem action="FileCloseAll" />
      <separator />
      <menuitem action="DocumentsNewTabGroup"/>
      <menuitem action="DocumentsPreviousTabGroup"/>
      <menuitem action="DocumentsNextTabGroup"/>
      <separator />
      <placeholder name="DocumentsOps_1" />
      <separator/>
      <placeholder name="DocumentsOps_2" />
      <separator/>
      <placeholder name="DocumentsOps_3" />
      <menuitem action="DocumentsPreviousDocument" />      
      <menuitem action="DocumentsNextDocument" />
      <separator/>
      <menuitem action="DocumentsMoveToNewWindow"/>
      <placeholder name="DocumentsListPlaceholder">
      <separator/>
      </placeholder>
    </menu>

    <menu name="HelpMenu" action="Help">
      <menuitem name="HelpContentsMenu" action="HelpContents"/>
      <menuitem name="HelpAboutMenu" action="HelpAbout"/>
    </menu>
  </menubar>

  <toolbar name="ToolBar">
    <toolitem action="FileNew"/>
    <toolitem action="FileSave"/>
    <separator/>
    <toolitem action="FilePrint"/>
    <separator/>
    <toolitem action="EditUndo"/>
    <toolitem action="EditRedo"/>
    <separator/>
    <toolitem action="EditCut"/>
    <toolitem action="EditCopy"/>
    <toolitem action="EditPaste"/>
    <separator/>
    <toolitem action="SearchFind"/>
    <toolitem action="SearchReplace"/>
  </toolbar>

  <toolbar name="FullscreenToolBar">
    <toolitem action="FileNew"/>
    <toolitem action="FileSave"/>
    <separator/>
    <toolitem action="FilePrint"/>
    <separator/>
    <toolitem action="EditUndo"/>
    <toolitem action="EditRedo"/>
    <separator/>
    <toolitem action="EditCut"/>
    <toolitem action="EditCopy"/>
    <toolitem action="EditPaste"/>
    <separator/>
    <toolitem action="SearchFind"/>
    <toolitem action="SearchReplace"/>
    <separator expand="true"/>
    <toolitem action="LeaveFullscreen"/>
  </toolbar>

  <popup name="NotebookPopup" action="NotebookPopupAction">
    <menuitem action="DocumentsMoveToNewWindow"/>
    <separator/>
    <menuitem action="FileSave"/>
    <menuitem action="FileSaveAs"/>
    <separator/>
    <menuitem action="FilePrint"/>
    <separator/>
    <placeholder name="NotebookPupupOps_1"/>   
    <separator/>
    <menuitem name="FileCloseMenu" action="FileClose"/>
  </popup>

</ui>
