Subversion Repositories general

Rev

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
 
1321 dev 8
	<window id="msgcomposeWindow">
1315 dev 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
 
1321 dev 18
	<popup id="msgComposeContext">
19
		<menuitem id="context-latrus-enabled" type="checkbox" label="Convert lat->rus"
20
			oncommand="LatRus.toggleEnabled();" accessKey="L" key="latrus-key" />
21
		<menu id="context-latrus-submenu" label="LatRus">
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
	</popup>
33
 
34
	<statusbar id="status-bar">
1321 dev 35
		<statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();" />
1311 dev 36
	</statusbar>
37
 
38
</overlay>