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>
|
2002-04-02 18:47:56 +00:00
|
|
|
- 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"?>
|
|
|
|
|
2002-04-02 18:47:56 +00:00
|
|
|
<!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>
|
2002-04-04 14:00:59 +00:00
|
|
|
|
|
|
|
|
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">
|
2002-04-02 18:47:56 +00:00
|
|
|
<menupopup id="menu_FilePopup">
|
2002-05-22 17:13:35 +00:00
|
|
|
<menuitem id="calendar-import-menu" label="Import ..." oncommand="loadEventsFromFile()"/>
|
|
|
|
<menuitem id="calendar-export-menu" label="Export ..." oncommand="saveEventsToFile()"/>
|
2002-04-10 14:38:06 +00:00
|
|
|
<menuseparator/>
|
2002-04-02 18:47:56 +00:00
|
|
|
<menuitem id="calendar-about-menu-item" label="About Calendar" 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">
|
2002-04-03 22:14:18 +00:00
|
|
|
<menupopup id="mppEdit">
|
2002-05-06 19:27:50 +00:00
|
|
|
<menuitem id="calendar-copy-menu" observes="copy_command" label="Copy" accesskey="c" oncommand="copyToClipboard()"/>
|
|
|
|
<menuitem id="calendar-paste-menu" label="Paste" accesskey="p" oncommand="pasteFromClipboard()"/>
|
2002-05-17 13:16:14 +00:00
|
|
|
<menuseparator/>
|
|
|
|
<menuitem id="calendar-selectall-menu" label="Select All" accesskey="a" oncommand="selectAllEvents()"/>
|
2002-05-06 19:27:50 +00:00
|
|
|
<menuseparator/>
|
2002-04-08 19:45:52 +00:00
|
|
|
<menuitem id="calendar-edit-preferences" label="Preferences..." oncommand="launchPreferences()"/>
|
|
|
|
</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>
|
2002-04-04 14:00:59 +00:00
|
|
|
</menu>
|
2002-04-08 19:45:52 +00:00
|
|
|
|
2002-05-14 13:24:00 +00:00
|
|
|
<menu id="tasksMenu"/>
|
|
|
|
|
2002-04-04 14:00:59 +00:00
|
|
|
<menu id="windowMenu"/>
|
2001-11-19 22:25:41 +00:00
|
|
|
|
2002-04-02 18:47:56 +00:00
|
|
|
<menu accesskey="&helpMenuCmd.accesskey;" id="menu_Help"/>
|
2001-11-19 22:25:41 +00:00
|
|
|
</menubar>
|
|
|
|
|
|
|
|
</overlay>
|