<ui>

    <menubar name="MenuBar">
        <menu name="FileMenu" action="FileMenu">
            <menuitem name="Import" action="CommonFileImport" />
            <menuitem name="ImportExternal" action="ExternalLibraryImport" />
            <separator />
            <menuitem name="JumpToFile" action="CommonJumpToFile" />
            <menuitem name="EmptyTrash" action="CommonEmptyTrash" />
            <separator />
            <menuitem name="Quit" action="CommonQuit" />
        </menu>
        
        <menu name="EditMenu" action="EditMenu">
            <menuitem name="Undo" action="CommonUndo" />
            <menuitem name="Redo" action="CommonRedo" />
            <separator />
            <menuitem name="Find" action="CommonFind" />
            <menuitem name="NewSearch" action="CommonNewSearch" />
            <separator />
            <menuitem name="Delete" action="Delete" />
            <menuitem name="Restore" action="Restore" />
            <separator />
            <menuitem name="SelectAll" action="CommonSelectAll" />
            <separator />
            <menuitem name="Preferences" action="CommonPreferences" />
        </menu>
        
        <menu name="ViewMenu" action="ViewMenu">
            <menuitem name="DisplayBasicProperties" action="CommonDisplayBasicProperties" />
            <menuitem name="DisplayExtendedProperties" action="CommonDisplayExtendedProperties" />
            <menuitem name="DisplaySearchbar" action="CommonDisplaySearchbar" />
            <separator />
            <menu name="FilterPhotos" action="CommonFilterPhotos">
                <menuitem name="DisplayFiveOrHigher" action="CommonDisplayFiveOrHigher" />
                <menuitem name="DisplayFourOrHigher" action="CommonDisplayFourOrHigher" />
                <menuitem name="DisplayThreeOrHigher" action="CommonDisplayThreeOrHigher" />
                <menuitem name="DisplayTwoOrHigher" action="CommonDisplayTwoOrHigher" />
                <menuitem name="DisplayOneOrHigher" action="CommonDisplayOneOrHigher" />
                <menuitem name="DisplayUnratedOrHigher" action="CommonDisplayUnratedOrHigher" />
                <menuitem name="DisplayRejectedOrHigher" action="CommonDisplayRejectedOrHigher" />
                <menuitem name="DisplayRejectedOnly" action="CommonDisplayRejectedOnly" />
            </menu>
            <separator />
            <menu name="SortEvents" action="CommonSortEvents">
                <menuitem name="SortEventsAscending" action="CommonSortEventsAscending" />
                <menuitem name="SortEventsDescending" action="CommonSortEventsDescending" />
            </menu>
        </menu>
        
        <menu name="HelpMenu" action="HelpMenu">
            <menuitem name="Contents" action="CommonHelpContents" />
            <menuitem name="Frequently Asked Questions" action="CommonHelpFAQ" />
            <separator />
            <menuitem name="About" action="CommonAbout" />
        </menu>
    </menubar>
    
    <popup name="TrashContextMenu">
        <menuitem name="ContextDelete" action="Delete" />
        <menuitem name="ContextRestore" action="Restore" />
        <separator />
        <menuitem name="ContextJumpToFile" action="CommonJumpToFile" />
        <separator />
        <menuitem name="ContextEmptyTrash" action="CommonEmptyTrash" />
    </popup>
    
    <popup name="TrashPageMenu">
        <menuitem name="ContextEmptyTrash" action="CommonEmptyTrash" />
    </popup>
    
    <toolbar name="TrashToolbar">
        <toolitem name="ToolDelete" action="Delete" />
        <toolitem name="ToolRestore" action="Restore" />
        <toolitem name="ToolEmptyTrash" action="CommonEmptyTrash" />
        <separator />
        <toolitem name="ToolFind" action="CommonDisplaySearchbar" />
    </toolbar>
    
</ui>
