Subversion Repositories general

Rev

Rev 1332 | Go to most recent revision | 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()" />
1321 dev 40
			<menuitem id="panel-latrus-options" label="Options" oncommand="LatRus.showOptions()" />
41
		</popup>
42
	</popupset>
1315 dev 43
 
1311 dev 44
	<statusbar id="status-bar">
1321 dev 45
		<statusbarpanel id="latrus-panel" onclick="if(event.button == 0) LatRus.toggleEnabled();"
1315 dev 46
			contextmenu="panel-latrus-popup">
47
		</statusbarpanel>
1311 dev 48
	</statusbar>
49
 
1334 dev 50
	<vbox id="appcontent">
1332 dev 51
		<vbox id="latrus_hint">
52
		</vbox>
53
	</vbox>
54
 
1311 dev 55
</overlay>
1332 dev 56