Rev 1321 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1321 | Rev 1323 | ||
---|---|---|---|
1 | <?xml version="1.0"?> |
1 | <?xml version="1.0"?> |
2 | 2 | ||
3 | <overlay id="latrus" |
3 | <overlay id="latrus" |
4 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
4 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
5 | 5 | ||
6 | <script type="application/x-javascript" src="chrome://latrus/content/latrus.js" /> |
6 | <script type="application/x-javascript" src="chrome://latrus/content/latrus.js" /> |
7 | 7 | ||
8 | <window id="msgcomposeWindow"> |
8 | <window id="msgcomposeWindow"> |
9 | <commandset id="latrus-commandset"> |
9 | <commandset id="latrus-commandset"> |
10 | <command id="latrus-command" oncommand="LatRus.toggleEnabled();" /> |
10 | <command id="latrus-command" oncommand="LatRus.toggleEnabled();" /> |
11 | </commandset> |
11 | </commandset> |
12 | 12 | ||
13 | <keyset id="latrus-keyset"> |
13 | <keyset id="latrus-keyset"> |
14 | <key id="latrus-key" modifiers="accel,alt" key="L" command="latrus-command" /> |
14 | <key id="latrus-key" modifiers="accel,alt" key="L" command="latrus-command" /> |
15 | </keyset> |
15 | </keyset> |
16 | </window> |
16 | </window> |
17 | 17 | ||
18 | <popup id="msgComposeContext"> |
18 | <popup id="msgComposeContext"> |
19 | <menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus" |
19 | <menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus" |
20 | oncommand="LatRus.toggleEnabled();" accessKey="L" key="latrus-key" /> |
20 | oncommand="LatRus.toggleEnabled();" accessKey="L" key="latrus-key" /> |
21 | <menu id="context-latrus-submenu" label="LatRus"> |
21 | <menu id="context-latrus-submenu" label="LatRus"> |
22 | <menupopup id="context-latrus-menupopup" onpopupshowing="LatRus.onMenuPopupShowing()"> |
22 | <menupopup id="context-latrus-menupopup" onpopupshowing="LatRus.onMenuPopupShowing()"> |
23 | <menuitem id="context-latrus-tolat" label="Selected text to LAT" |
23 | <menuitem id="context-latrus-tolat" label="Selected text to LAT" |
24 | oncommand="LatRus.selectedToLat()" /> |
24 | oncommand="LatRus.selectedToLat()" /> |
25 | <menuitem id="context-latrus-torus" label="Selected text to RUS" |
25 | <menuitem id="context-latrus-torus" label="Selected text to RUS" |
26 | oncommand="LatRus.selectedToRus()" /> |
26 | oncommand="LatRus.selectedToRus()" /> |
27 | <menuseparator id="context-latrus-menupopup-sep" /> |
27 | <menuseparator id="context-latrus-menupopup-sep" /> |
28 | <menuitem id="context-latrus-options" label="Options" |
28 | <menuitem id="context-latrus-options" label="Options" |
29 | oncommand="LatRus.showOptions()" /> |
29 | oncommand="LatRus.showOptions()" /> |
30 | </menupopup> |
30 | </menupopup> |
31 | </menu> |
31 | </menu> |
32 | </popup> |
32 | </popup> |
33 | 33 | ||
34 | <statusbar id="status-bar"> |
34 | <statusbar id="status-bar"> |
35 | <statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();" /> |
35 | <statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();" /> |
36 | </statusbar> |
36 | </statusbar> |
37 | 37 | ||
38 | </overlay> |
38 | </overlay> |