5
- The contents of this file are subject to the Mozilla Public License
6
- Version 1.1 (the "License"); you may not use this file except in
7
- compliance with the License. You may obtain a copy of the License at
8
- http://www.mozilla.org/MPL/
10
- Software distributed under the License is distributed on an "AS IS" basis,
11
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12
- for the specific language governing rights and limitations under the
15
- The Original Code is The JavaScript Debugger
17
- The Initial Developer of the Original Code is
18
- Netscape Communications Corporation
19
- Portions created by Netscape are
20
- Copyright (C) 1998 Netscape Communications Corporation.
21
- All Rights Reserved.
23
- Alternatively, the contents of this file may be used under the
24
- terms of the GNU Public License (the "GPL"), in which case the
25
- provisions of the GPL are applicable instead of those above.
26
- If you wish to allow use of your version of this file only
27
- under the terms of the GPL and not to allow others to use your
28
- version of this file under the MPL, indicate your decision by
29
- deleting the provisions above and replace them with the notice
30
- and other provisions required by the GPL. If you do not delete
31
- the provisions above, a recipient may use your version of this
32
- file under either the MPL or the GPL.
35
- Robert Ginda, <rginda@netscape.com>, original author
39
<!DOCTYPE overlay SYSTEM "chrome://venkman/locale/venkman.dtd" >
41
<overlay id="venkman-menu-overlay"
42
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
44
<overlaytarget id="menu-overlay-target">
47
<commandset id="venkman-commands">
49
<!-- Edit commands -->
50
<commandset id="selectEditMenuItems"/>
51
<commandset id="globalEditMenuItems"/>
52
<commandset id="undoEditMenuItems"/>
53
<commandset id="clipboardEditMenuItems"/>
54
<command id="cmd_undo"/>
55
<command id="cmd_redo"/>
56
<command id="cmd_cut"/>
57
<command id="cmd_copy"/>
58
<command id="cmd_paste"/>
59
<command id="cmd_delete"/>
60
<command id="cmd_selectAll"/>
62
<!-- Tasks commands, from overlay -->
63
<commandset id="tasksCommands"/>
68
<keyset id="venkmanKeys">
69
<key id="key:reloadui" modifiers="accel alt" key="R"
70
oncommand="if (typeof cmdReloadUI =='function') cmdReloadUI(); else window.location.href = window.location.href;"/>
78
<key id="key_delete"/>
79
<key id="key_selectAll"/>
81
<!-- Tasks keys, from overlay -->
82
<keyset id="tasksKeys"/>
85
<!-- Main menu bar -->
86
<toolbox flex="1" id="main-toolbox" collapsed="true">
87
<menubar id="mainmenu" persist="collapsed" collapsed="true"
88
grippytooltiptext="&MenuBar.tooltip;">
90
<!-- File menu placeholder, see venkman-menus.js -->
91
<menu id="mainmenu:file"/>
93
<!-- Edit menu placeholder, see venkman-menus.js -->
94
<menu id="mainmenu:edit"/>
96
<!-- View menu placeholder, see venkman-menus.js -->
97
<menu id="mainmenu:view"/>
99
<!-- Debug menu placeholder, see venkman-menus.js -->
100
<menu id="mainmenu:debug"/>
102
<!-- Profile menu placeholder, see venkman-menus.js -->
103
<menu id="mainmenu:profile"/>
106
<menu id="tasksMenu"/>
109
<menu id="windowMenu"/>
111
<!-- Tools menu placeholder, see venkman-menus.js -->
112
<!--<menu id="mainmenu:tools"/>-->
115
<!-- Mac expects a help menu with this ID, and there is nothing we can
117
<menu id="menu_Help"/>
120
<!-- Debug toolbar -->
121
<toolbar id="maintoolbar-outer" collapsed="true"
122
grippytooltiptext="&DebugBar.tooltip;">
123
<hbox id="maintoolbar">
126
<textbox id="paint-hack"
127
style="border: none; background: none; height: 0px; width: 0px"/>
135
<!-- Statusbar (hey, it's /almost/ a menu) -->
136
<overlaytarget id="statusbar-overlay-target">
137
<statusbar class="chromeclass-status" id="status-bar" flex="1">
138
<statusbarpanel id="component-bar"/>
139
<statusbarpanel id="status-text" label="" flex="1"
142
<statusbarpanel class="statusbarpanel-iconic" id="offline-status"
143
hidden="true" offline="true"/>