suite/common/consoleOverlay.xul
author Robert Kaiser <kairo@kairo.at>
Wed, 29 Oct 2008 20:04:10 +0100
changeset 766 08cec1de1b4240ca031be70705dc2488c598a8f9
parent 0 e4f4569d451a5e0d12a6aa33ebd916f979dd8faa
child 1571 9b6855526bb63b2f205fd5370730cda281ac07d3
permissions -rw-r--r--
comm-central bustage fix from bug 97954 (autoconf build environment for SpiderMonkey), r=Standard8

<?xml version="1.0"?>

<!-- ***** BEGIN LICENSE BLOCK *****
 Version: MPL 1.1/GPL 2.0/LGPL 2.1

 The contents of this file are subject to the Mozilla Public License Version
 1.1 (the "License"); you may not use this file except in compliance with
 the License. You may obtain a copy of the License at
 http://www.mozilla.org/MPL/

 Software distributed under the License is distributed on an "AS IS" basis,
 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 for the specific language governing rights and limitations under the
 License.

 The Original Code is SeaMonkey internet suite code.

 The Initial Developer of the Original Code is
 Netscape Communications Corporation.
 Portions created by the Initial Developer are Copyright (C) 2006
 the Initial Developer. All Rights Reserved.

 Contributor(s):
   Robert Kaiser <kairo@kairo.at>

 Alternatively, the contents of this file may be used under the terms of
 either of the GNU General Public License Version 2 or later (the "GPL"),
 or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 in which case the provisions of the GPL or the LGPL are applicable instead
 of those above. If you wish to allow use of your version of this file only
 under the terms of either the GPL or the LGPL, and not to allow others to
 use your version of this file under the terms of the MPL, indicate your
 decision by deleting the provisions above and replace them with the notice
 and other provisions required by the GPL or the LGPL. If you do not delete
 the provisions above, a recipient may use your version of this file under
 the terms of any one of the MPL, the GPL or the LGPL.

 ***** END LICENSE BLOCK ***** -->

<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>

<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>

<!DOCTYPE overlay [

<!ENTITY % consoleOverlayDTD SYSTEM "chrome://communicator/locale/consoleOverlay.dtd">
%consoleOverlayDTD;

]>

<overlay id="consoleOverlay"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <commandset id="consoleCommands">
    <commandset id="tasksCommands"/>
    <command id="cmd_quit"/>
  </commandset>

  <keyset id="consoleKeys">
    <keyset id="tasksKeys"/>
    <key id="key_copy"/>
    <key id="key_close2" disabled="true"/>
    <key id="key_quit"/>
  </keyset>

  <toolbox id="console-toolbox">
    <menubar id="main-menubar" class="chromeclass-menubar"
             grippytooltiptext="&menuBar.tooltip;" position="1">
      <menu id="menu_File">
        <menupopup id="menu_FilePopup">
          <menuitem id="menu_close"/>
        </menupopup>
      </menu>

      <menu id="menu_Edit">
        <menupopup>
          <menuitem id="menu_copy"/>
        </menupopup>
      </menu>

      <menu id="menu_View">
        <menupopup>
          <menu label="&toolbarsCmd.label;" accesskey="&toolbarsCmd.accesskey;">
            <menupopup>
              <menuitem id="toggleToolbarMode" type="checkbox" checked="true"
                        oncommand="goToggleToolbar('ToolbarMode','toggleToolbarMode');"
                        label="&toolbarMode.label;"
                        accesskey="&toolbarMode.accesskey;"/>
              <menuitem id="toggleToolbarEval" type="checkbox" checked="true"
                        oncommand="goToggleToolbar('ToolbarEval','toggleToolbarEval');"
                        label="&toolbarEval.label;"
                        accesskey="&toolbarEval.accesskey;"/>
            </menupopup>
          </menu>
          <menuseparator/>
          <menuitem type="radio" observes="Console:sortAscend"/>
          <menuitem type="radio" observes="Console:sortDescend"/>
        </menupopup>
      </menu>

      <!-- tasks menu filled from tasksOverlay -->
      <menu id="tasksMenu"/>

      <!-- window menu filled from tasksOverlay -->
      <menu id="windowMenu"/>

      <!-- help menu filled from globalOverlay -->
      <menu id="menu_Help"/>
    </menubar>

    <toolbar id="ToolbarMode" grippytooltiptext="&modeToolbar.tooltip;">
      <toolbarbutton id="Console:modeAll" accesskey="&all.accesskey;"/>
      <toolbarbutton id="Console:modeErrors" accesskey="&errors.accesskey;"/>
      <toolbarbutton id="Console:modeWarnings" accesskey="&warnings.accesskey;"/>
      <toolbarbutton id="Console:modeMessages" accesskey="&messages.accesskey;"/>
      <toolbarbutton id="Console:clear" accesskey="&clear.accesskey;"/>
    </toolbar>

    <toolbar id="ToolbarEval" grippytooltiptext="&entryToolbar.tooltip;">
      <toolbarbutton id="ButtonEval" accesskey="&evaluate.accesskey;"/>
    </toolbar>
  </toolbox>

</overlay>