gecko-dev/calendar/resources/content/menuOverlay.xul

137 lines
5.7 KiB
Plaintext
Raw Normal View History

2001-11-19 22:25:41 +00:00
<?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 OEone Calendar Code, released October 31st, 2001.
-
- The Initial Developer of the Original Code is
- OEone Corporation.
- Portions created by the Initial Developer are Copyright (C) 2001
- the Initial Developer. All Rights Reserved.
-
- Contributor(s): Colin Phillips <colinp@oeone.com>
- Dan Parent <danp@oeone.com>
2001-11-19 22:25:41 +00:00
-
- Alternatively, the contents of this file may be used under the terms of
- either 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 LGPL or the GPL. 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 ***** -->
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
<?xul-overlay href="chrome://global/content/charsetOverlay.xul"?>
<!DOCTYPE window
[
<!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" > %navigatorDTD;
<!ENTITY % calendarMenuOverlayDTD SYSTEM "chrome://calendar/locale/calendarMenuOverlay.dtd" > %calendarMenuOverlayDTD;
2001-11-19 22:25:41 +00:00
]>
2002-01-10 05:59:11 +00:00
<overlay id="calendarOverlay"
2001-11-19 22:25:41 +00:00
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- Keysets -->
<keyset id="navKeys">
<!-- File Menu -->
<key id="key_close"/>
<key id="key_quit"/>
<!-- Edit Menu -->
<key id="key_undo"/>
<key id="key_redo"/>
<key id="key_cut"/>
<key id="key_copy"/>
<key id="key_paste"/>
<key id="key_delete"/>
<key id="key_selectAll"/>
<!-- Search Menu -->
<key id="key_find" key="&findOnCmd.commandkey;" command="Browser:Find" modifiers="accel"/>
<key id="key_findAgain" key="&findAgainCmd.commandkey;" command="Browser:FindAgain" modifiers="accel"/>
2002-01-10 05:59:11 +00:00
<keyset id="tasksKeys"/>
2001-11-19 22:25:41 +00:00
</keyset>
<commandset id="commands">
<command id="cmd_quit"/>
<command id="cmd_close" oncommand="BrowserClose()"/>
<!-- Edit Menu -->
<command id="cmd_undo"/>
<command id="cmd_redo"/>
<command id="cmd_cut"/>
<command id="cmd_copy"/>
<command id="cmd_paste"/>
<command id="cmd_delete"/>
<command id="cmd_selectAll"/>
<!-- Search Menu -->
<command id="Browser:Find" oncommand="BrowserFind();" />
<command id="Browser:FindAgain" oncommand="BrowserFindAgain();" />
2002-01-10 05:59:11 +00:00
<commandset id="tasksCommands"/>
2001-11-19 22:25:41 +00:00
</commandset>
2001-11-19 22:25:41 +00:00
<!-- Menu -->
<menubar id="main-menubar" class="chromeclass-menubar">
2002-04-08 19:45:52 +00:00
<menu id="menu_File">
<menupopup id="menu_FilePopup">
<menuitem id="calendar-import-menu" label="&calendar.import.label;" oncommand="loadEventsFromFile()"/>
<menuitem id="calendar-export-menu" label="&calendar.export.label;" oncommand="saveEventsToFile()"/>
<menuseparator/>
<menuitem id="calendar-about-menu-item" label="&calendar.about.label;" oncommand="alertCalendarVersion()"/>
2002-04-08 19:45:52 +00:00
</menupopup>
</menu>
2001-11-19 22:25:41 +00:00
2002-04-08 19:45:52 +00:00
<menu id="menu_Edit">
<menupopup id="mppEdit">
<menuitem id="calendar-copy-menu" observes="copy_command" label="&calendar.copy.label;" accesskey="c" oncommand="copyToClipboard()"/>
<menuitem id="calendar-paste-menu" label="&calendar.paste.label;" accesskey="p" oncommand="pasteFromClipboard()"/>
<menuseparator/>
<menuitem id="calendar-selectall-menu" label="&calendar.selectall.label;" accesskey="a" oncommand="selectAllEvents()"/>
<menuseparator/>
<menuitem id="calendar-edit-preferences" label="&calendar.preferences.label;" oncommand="launchPreferences()"/>
2002-04-08 19:45:52 +00:00
</menupopup>
</menu>
<menu id="menu_Event" label="&event.menu.title;" accesskey="&eventMenuCmd.accesskey;">
<menupopup id="mppEvent">
<menuitem id="calendar-new-event-menu" label="&event.new.event;" oncommand="newEventCommand()"/>
2002-04-08 20:29:01 +00:00
<menuitem id="unifinder-modify-menu" observes="modify_command" label="&event.edit.event;" oncommand="unifinderEditCommand()" />
<menuitem id="unifinder-remove-menu" observes="delete_command" label="&event.delete.event;" oncommand="unifinderDeleteCommand()" key="delete_key" />
2002-04-08 19:45:52 +00:00
<menuseparator/>
<menuitem id="calendar-mail-event" observes="send_event_command" label="&event.mail.event;" oncommand="sendEvent();"/>
</menupopup>
</menu>
2002-04-08 19:45:52 +00:00
<menu id="tasksMenu"/>
<menu id="windowMenu"/>
2001-11-19 22:25:41 +00:00
<menu accesskey="&helpMenuCmd.accesskey;" id="menu_Help"/>
2001-11-19 22:25:41 +00:00
</menubar>
</overlay>