Rev 1311 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1311 | Rev 1315 | ||
---|---|---|---|
Line 3... | Line 3... | ||
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="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 | ||
8 | <popup id="contentAreaContextMenu"> |
18 | <popup id="contentAreaContextMenu"> |
- | 19 | <menu id="context-latrus-submenu" label="LatRus" insertafter="spell-separator"> |
|
- | 20 | <menupopup id="context-latrus-menupopup"> |
|
- | 21 | <menuitem id="context-latrus-options" label="Options" |
|
- | 22 | oncommand="LatRus.showOptions()" /> |
|
- | 23 | </menupopup> |
|
- | 24 | </menu> |
|
9 | <menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus" |
25 | <menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus" |
10 | oncommand="LatRus.toggleEnabled();" insertafter="spell-separator" /> |
26 | oncommand="LatRus.toggleEnabled();" insertafter="spell-separator" |
11 | <!--menu id="context-latrus-submenu" insertafter="context-latrus-enabled"> |
- | |
12 | <menupopup id="context-latrus-menupopup" /> |
27 | accessKey="L" key="latrus-key" /> |
13 | </menu--> |
- | |
14 | </popup> |
28 | </popup> |
15 | 29 | ||
- | 30 | <popup id="panel-latrus-popup"> |
|
- | 31 | <menuitem id="panel-latrus-options" label="Options" oncommand="LatRus.showOptions()" /> |
|
- | 32 | </popup> |
|
- | 33 | ||
16 | <statusbar id="status-bar"> |
34 | <statusbar id="status-bar"> |
- | 35 | <statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();" |
|
17 | <statusbarpanel id="latrus-panel" /> |
36 | contextmenu="panel-latrus-popup"> |
- | 37 | </statusbarpanel> |
|
18 | </statusbar> |
38 | </statusbar> |
19 | 39 | ||
20 | </overlay> |
40 | </overlay> |