Rev 1316 | Rev 1332 | 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" 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>
<menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus"
oncommand="LatRus.toggleEnabled();" insertafter="spell-separator"
accessKey="L" key="latrus-key" />
</popup>
<popupset id="mainPopupSet">
<popup id="panel-latrus-popup">
<menuitem id="panel-latrus-options" label="Options" oncommand="LatRus.showOptions()" />
</popup>
</popupset>
<statusbar id="status-bar">
<statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();"
contextmenu="panel-latrus-popup">
</statusbarpanel>
</statusbar>
</overlay>