Import from 1.9a8 tarball
[mozilla-extra.git] / extensions / venkman / resources / content / venkman-overlay.xul
bloba77a487cac10c38b8be0ec46b12b929f240e16f0
1 <?xml version="1.0"?>
3 <!--
5 - ***** BEGIN LICENSE BLOCK *****
6 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
8 - The contents of this file are subject to the Mozilla Public License Version
9 - 1.1 (the "License"); you may not use this file except in compliance with
10 - the License. You may obtain a copy of the License at
11 - http://www.mozilla.org/MPL/
13 - Software distributed under the License is distributed on an "AS IS" basis,
14 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
15 - for the specific language governing rights and limitations under the
16 - License.
18 - The Original Code is The JavaScript Debugger.
20 - The Initial Developer of the Original Code is
21 - Netscape Communications Corporation.
22 - Portions created by the Initial Developer are Copyright (C) 1998
23 - the Initial Developer. All Rights Reserved.
25 - Contributor(s):
26 - Robert Ginda, <rginda@netscape.com>, original author
27 - Gary van der Merwe, <garyvdm@gmail.com>
29 - Alternatively, the contents of this file may be used under the terms of
30 - either the GNU General Public License Version 2 or later (the "GPL"), or
31 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
32 - in which case the provisions of the GPL or the LGPL are applicable instead
33 - of those above. If you wish to allow use of your version of this file only
34 - under the terms of either the GPL or the LGPL, and not to allow others to
35 - use your version of this file under the terms of the MPL, indicate your
36 - decision by deleting the provisions above and replace them with the notice
37 - and other provisions required by the GPL or the LGPL. If you do not delete
38 - the provisions above, a recipient may use your version of this file under
39 - the terms of any one of the MPL, the GPL or the LGPL.
41 - ***** END LICENSE BLOCK ***** -->
44 <!--
45 This file contains the nodes that will be overlayed on top of
46 <chrome://communicator/content/tasksOverlay.xul>.
47 Place JavaScript code that this file needs in venkman-overlay.js.
48 Declare XMl entites that this file refers to in venkman-overlay.dtd.
49 -->
51 <!DOCTYPE overlay SYSTEM "chrome://venkman/locale/venkman-overlay.dtd" >
52 <?xml-stylesheet href="chrome://venkman/skin/venkman-overlay.css" type="text/css"?>
54 <overlay id="venkmanTaskMenuID"
55 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
57 <script src="chrome://venkman/content/venkman-overlay.js"/>
59 <!--
60 This is the id that the menuitem will be appended to. See tasksOverlay.xul
61 -->
62 <menupopup id="toolsPopup">
63 <menuitem id="venkman-menu" position="5" label="&venkmanCmd.label;"
64 accesskey="&venkmanCmd.accesskey;" oncommand="start_venkman()"/>
65 </menupopup>
67 <!-- This is the overlay that adds a "JavaScript Debugger" button to the
68 - Firefox toolbar palette, and Tools menu. -->
70 <toolbarpalette id="BrowserToolbarPalette">
71 <toolbarbutton id="tb-venkman-open" oncommand="start_venkman()"
72 class="toolbarbutton-1"
73 label="&vnkButton.label;" tooltiptext="&vnkButton.label;"/>
74 </toolbarpalette>
76 <!-- Firefox -->
77 <menupopup id="menu_ToolsPopup">
78 <menuitem id="tb-venkman-menu" oncommand="start_venkman()"
79 insertafter="javascriptConsole,devToolsSeparator"
80 label="&vnkMenu.label;" accesskey="&vnkMenu.accesskey;"/>
81 </menupopup>
83 <!-- Thunderbird -->
84 <menupopup id="taskPopup">
85 <menuitem id="tb-venkman-menu-tb" oncommand="start_venkman()"
86 insertafter="javaScriptConsole,devToolsSeparator"
87 label="&vnkMenu.label;" accesskey="&vnkMenu.accesskey;"/>
88 </menupopup>
90 <!-- Sunbird toolbar button -->
91 <toolbarpalette id="calendarToolbarPalette">
92 <toolbarbutton id="sb-venkman-open" oncommand="start_venkman()"
93 class="toolbarbutton-1"
94 label="&vnkButton.label;" tooltiptext="&vnkButton.label;"/>
95 </toolbarpalette>
97 </overlay>