Rev 1334 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1311 | dev | 1 | <?xml version="1.0"?> |
2 | |||
1334 | dev | 3 | <?xml-stylesheet href="chrome://latrus/skin/latrus.css" type="text/css"?> |
4 | |||
1311 | dev | 5 | <overlay id="latrus" |
6 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
||
7 | |||
8 | <script type="application/x-javascript" src="chrome://latrus/content/latrus.js" /> |
||
9 | |||
1315 | dev | 10 | <window id="main-window"> |
11 | <commandset id="latrus-commandset"> |
||
12 | <command id="latrus-command" oncommand="LatRus.toggleEnabled();" /> |
||
13 | </commandset> |
||
14 | |||
15 | <keyset id="latrus-keyset"> |
||
16 | <key id="latrus-key" modifiers="accel,alt" key="L" command="latrus-command" /> |
||
17 | </keyset> |
||
18 | </window> |
||
19 | |||
1311 | dev | 20 | <popup id="contentAreaContextMenu"> |
1315 | dev | 21 | <menu id="context-latrus-submenu" label="LatRus" insertafter="spell-separator"> |
1316 | dev | 22 | <menupopup id="context-latrus-menupopup" onpopupshowing="LatRus.onMenuPopupShowing()"> |
23 | <menuitem id="context-latrus-tolat" label="Selected text to LAT" |
||
24 | oncommand="LatRus.selectedToLat()" /> |
||
25 | <menuitem id="context-latrus-torus" label="Selected text to RUS" |
||
26 | oncommand="LatRus.selectedToRus()" /> |
||
27 | <menuseparator id="context-latrus-menupopup-sep" /> |
||
1315 | dev | 28 | <menuitem id="context-latrus-options" label="Options" |
29 | oncommand="LatRus.showOptions()" /> |
||
30 | </menupopup> |
||
31 | </menu> |
||
1311 | dev | 32 | <menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus" |
1315 | dev | 33 | oncommand="LatRus.toggleEnabled();" insertafter="spell-separator" |
34 | accessKey="L" key="latrus-key" /> |
||
1311 | dev | 35 | </popup> |
36 | |||
1321 | dev | 37 | <popupset id="mainPopupSet"> |
38 | <popup id="panel-latrus-popup"> |
||
1332 | dev | 39 | <menuitem id="panel-latrus-show-hint" type="checkbox" label="Hints" oncommand="LatRus.toggleHint()" /> |
1335 | dev | 40 | <menuitem id="panel-latrus-input" label="Input Box" oncommand="LatRus.openInputBox()" /> |
1321 | dev | 41 | <menuitem id="panel-latrus-options" label="Options" oncommand="LatRus.showOptions()" /> |
42 | </popup> |
||
43 | </popupset> |
||
1315 | dev | 44 | |
1311 | dev | 45 | <statusbar id="status-bar"> |
1321 | dev | 46 | <statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();" |
1315 | dev | 47 | contextmenu="panel-latrus-popup"> |
48 | </statusbarpanel> |
||
1311 | dev | 49 | </statusbar> |
50 | |||
1334 | dev | 51 | <vbox id="appcontent"> |
1332 | dev | 52 | <vbox id="latrus_hint"> |
53 | </vbox> |
||
54 | </vbox> |
||
55 | |||
1311 | dev | 56 | </overlay> |
1332 | dev | 57 |