Subversion Repositories general

Rev

Rev 1316 | Blame | 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="msgcomposeWindow">
                <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="msgComposeContext">
                <menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus"
                        oncommand="LatRus.toggleEnabled();" accessKey="L" key="latrus-key" />
                <menu id="context-latrus-submenu" label="LatRus">
                        <menupopup id="context-latrus-menupopup" onpopupshowing="LatRus.onMenuPopupShowing()">
                                <menuitem id="context-latrus-tolat" label="Selected text to LAT"
                                        oncommand="LatRus.selectedToLat()" />
                                <menuitem id="context-latrus-torus" label="Selected text to RUS"
                                        oncommand="LatRus.selectedToRus()" />
                                <menuseparator id="context-latrus-menupopup-sep" />
                                <menuitem id="context-latrus-options" label="Options"
                                        oncommand="LatRus.showOptions()" />
                        </menupopup>
                </menu>
        </popup>
        
        <statusbar id="status-bar">
                <statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();" />
        </statusbar>

</overlay>