Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1311 | dev | 1 | <?xml version="1.0"?> |
2 | |||
3 | <overlay id="latrus" |
||
4 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
||
5 | |||
6 | <script type="application/x-javascript" src="chrome://latrus/content/latrus.js" /> |
||
7 | |||
1315 | dev | 8 | <window id="main-window"> |
9 | <commandset id="latrus-commandset"> |
||
10 | <command id="latrus-command" oncommand="LatRus.toggleEnabled();" /> |
||
11 | </commandset> |
||
12 | |||
13 | <keyset id="latrus-keyset"> |
||
14 | <key id="latrus-key" modifiers="accel,alt" key="L" command="latrus-command" /> |
||
15 | </keyset> |
||
16 | </window> |
||
17 | |||
1311 | dev | 18 | <popup id="contentAreaContextMenu"> |
1315 | dev | 19 | <menu id="context-latrus-submenu" label="LatRus" insertafter="spell-separator"> |
1316 | dev | 20 | <menupopup id="context-latrus-menupopup" onpopupshowing="LatRus.onMenuPopupShowing()"> |
21 | <menuitem id="context-latrus-tolat" label="Selected text to LAT" |
||
22 | oncommand="LatRus.selectedToLat()" /> |
||
23 | <menuitem id="context-latrus-torus" label="Selected text to RUS" |
||
24 | oncommand="LatRus.selectedToRus()" /> |
||
25 | <menuseparator id="context-latrus-menupopup-sep" /> |
||
1315 | dev | 26 | <menuitem id="context-latrus-options" label="Options" |
27 | oncommand="LatRus.showOptions()" /> |
||
28 | </menupopup> |
||
29 | </menu> |
||
1311 | dev | 30 | <menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus" |
1315 | dev | 31 | oncommand="LatRus.toggleEnabled();" insertafter="spell-separator" |
32 | accessKey="L" key="latrus-key" /> |
||
1311 | dev | 33 | </popup> |
34 | |||
1315 | dev | 35 | <popup id="panel-latrus-popup"> |
36 | <menuitem id="panel-latrus-options" label="Options" oncommand="LatRus.showOptions()" /> |
||
37 | </popup> |
||
38 | |||
1311 | dev | 39 | <statusbar id="status-bar"> |
1315 | dev | 40 | <statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();" |
41 | contextmenu="panel-latrus-popup"> |
||
42 | </statusbarpanel> |
||
1311 | dev | 43 | </statusbar> |
44 | |||
45 | </overlay> |