<ui>

    <menubar name="MediaMenuBar">
        <menu name="PhotosMenu" action="PhotosMenu">
            <separator />
            <menuitem name="MakePrimary" action="MakePrimary" />
        </menu>
        <menu name="EventsMenu" action="EventsMenu">
            <menuitem name="EventRename" action="Rename" />
        </menu>
    </menubar>

    <popup name="CollectionContextMenu">
        <separator />
        <menuitem name="ContextMakePrimary" action="MakePrimary" />
    </popup>

    <popup name="EventContextMenu">
        <menuitem name="ContextRename" action="Rename" />
    </popup>
    
</ui>

