annotate firefoxaddon/template/content/firefoxOverlay.xul_tmpl @ 0:9869cf47fcf8 default tip

initial commit of Firefox addon template
author k0s <k0scist@gmail.com>
date Sun, 28 Mar 2010 16:25:58 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
2 <?xml-stylesheet href="chrome://${package}/skin/overlay.css" type="text/css"?>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
3 <!DOCTYPE overlay SYSTEM "chrome://${package}/locale/${package}.dtd">
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
4 <overlay id="${package}-overlay"
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
5 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
6 <script src="overlay.js"/>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
7 <stringbundleset id="stringbundleset">
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
8 <stringbundle id="${package}-strings" src="chrome://${package}/locale/${package}.properties"/>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
9 </stringbundleset>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
10
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
11 <menupopup id="menu_ToolsPopup">
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
12 <menuitem id="${package}-hello" label="&${package}.label;"
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
13 oncommand="${package}.onMenuItemCommand(event);"/>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
14 </menupopup>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
15 <popup id="contentAreaContextMenu">
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
16 <menuitem id="context-${package}" label="&${package}Context.label;"
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
17 accesskey="&${package}Context.accesskey;"
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
18 insertafter="context-stop"
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
19 oncommand="${package}.onMenuItemCommand(event)"/>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
20 </popup>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
21 <toolbarpalette id="BrowserToolbarPalette">
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
22 <toolbarbutton id="${package}-toolbar-button"
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
23 label="&${package}Toolbar.label;"
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
24 tooltiptext="&${package}Toolbar.tooltip;"
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
25 oncommand="${package}.onToolbarButtonCommand()"
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
26 class="toolbarbutton-1 chromeclass-toolbar-additional"/>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
27 </toolbarpalette>
9869cf47fcf8 initial commit of Firefox addon template
k0s <k0scist@gmail.com>
parents:
diff changeset
28 </overlay>