comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:9869cf47fcf8
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?xml-stylesheet href="chrome://${package}/skin/overlay.css" type="text/css"?>
3 <!DOCTYPE overlay SYSTEM "chrome://${package}/locale/${package}.dtd">
4 <overlay id="${package}-overlay"
5 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6 <script src="overlay.js"/>
7 <stringbundleset id="stringbundleset">
8 <stringbundle id="${package}-strings" src="chrome://${package}/locale/${package}.properties"/>
9 </stringbundleset>
10
11 <menupopup id="menu_ToolsPopup">
12 <menuitem id="${package}-hello" label="&${package}.label;"
13 oncommand="${package}.onMenuItemCommand(event);"/>
14 </menupopup>
15 <popup id="contentAreaContextMenu">
16 <menuitem id="context-${package}" label="&${package}Context.label;"
17 accesskey="&${package}Context.accesskey;"
18 insertafter="context-stop"
19 oncommand="${package}.onMenuItemCommand(event)"/>
20 </popup>
21 <toolbarpalette id="BrowserToolbarPalette">
22 <toolbarbutton id="${package}-toolbar-button"
23 label="&${package}Toolbar.label;"
24 tooltiptext="&${package}Toolbar.tooltip;"
25 oncommand="${package}.onToolbarButtonCommand()"
26 class="toolbarbutton-1 chromeclass-toolbar-additional"/>
27 </toolbarpalette>
28 </overlay>