Subversion Repositories general

Rev

Rev 1311 | Rev 1316 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?xml version="1.0"?>

<overlay id="latrus"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

        <script type="application/x-javascript" src="chrome://latrus/content/latrus.js" />
        
        <window id="main-window">
                <commandset id="latrus-commandset">
                        <command id="latrus-command" oncommand="LatRus.toggleEnabled();" />
                </commandset>

                <keyset id="latrus-keyset">
                        <key id="latrus-key" modifiers="accel,alt" key="L" command="latrus-command" />
                </keyset>
        </window>

        <popup id="contentAreaContextMenu">
                <menu id="context-latrus-submenu" label="LatRus" insertafter="spell-separator">
                        <menupopup id="context-latrus-menupopup">
                                <menuitem id="context-latrus-options" label="Options"
                                        oncommand="LatRus.showOptions()" />
                        </menupopup>
                </menu>
                <menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus"
                        oncommand="LatRus.toggleEnabled();" insertafter="spell-separator"
                        accessKey="L" key="latrus-key" />
        </popup>
        
        <popup id="panel-latrus-popup">
                <menuitem id="panel-latrus-options" label="Options" oncommand="LatRus.showOptions()" />
        </popup>

        <statusbar id="status-bar">
                <statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();" 
                        contextmenu="panel-latrus-popup">
                </statusbarpanel>
        </statusbar>

</overlay>