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

169 lines
8.6 KiB
XML

<?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>
-
- 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 overlay
[
<!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" > %navigatorDTD;
<!ENTITY % calendarDTD SYSTEM "chrome://calendar/locale/calendar.dtd" > %calendarDTD;
<!ENTITY % calendarMenuOverlayDTD SYSTEM "chrome://calendar/locale/menuOverlay.dtd" > %calendarMenuOverlayDTD;
]>
<overlay id="calendarOverlay"
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">
<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();" />
<commandset id="tasksCommands"/>
</commandset>
<!-- Keysets -->
<keyset id="navKeys">
<!-- File Menu -->
<key id="key_close"/>
<!-- 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"/>
</keyset>
<keyset id="tasksKeys">
<key id="key_quit"/>
</keyset>
<!-- Menu -->
<menubar id="main-menubar" class="chromeclass-menubar">
<menu id="menu_File">
<menupopup id="menu_FilePopup">
<menuitem id="calendar-new-event-menu" key="new_event_key" label="&event.new.event;" observes="new_command"/>
<menuitem id="calendar-new-todo-menu" key="new_todo_key" label="&event.new.todo;" observes="new_todo_command"/>
<menuitem id="calendar-new-calendar-menu" key="new_calendar_key" label="&calendar.context.newserver.label;" observes="new_local_calendar_command"/>
<menuitem id="unifinder-modify-menu" key="modify_event_key" label="&event.edit.event;" observes="modify_command"/>
<menuitem id="calendar-close" observes="close_calendar_command" label="&calendar.menu.options.close;"/>
<menuseparator/>
<menuitem id="calendar-mail-event" observes="send_event_command" key="send_event_key" label="&event.mail.event;"/>
<!-- printing is not working, bug
<menuseparator/>
<menuitem id="calendar-print-menu" observes="print_command" label="&calendar.print.label;"/>
-->
</menupopup>
</menu>
<menu id="menu_Edit">
<menupopup id="mppEdit">
<menuitem id="calendar-cut-menu" key="key_cut" label="&calendar.cut.label;" accesskey="&calendar.cut.accesskey;" observes="cut_command" />
<menuitem id="calendar-copy-menu" key="key_copy" label="&calendar.copy.label;" accesskey="&calendar.copy.accesskey;" observes="copy_command" />
<menuitem id="calendar-paste-menu" key="key_paste" label="&calendar.paste.label;" accesskey="&calendar.paste.accesskey;" observes="paste_command"/>
<menuitem id="unifinder-remove-menu" key="delete_key" label="&event.delete.event;" observes="delete_command" />
<menuitem id="unifinder-remove-menu" label="&event.delete.tasks;" observes="delete_todo_command" />
<menuseparator/>
<menuitem id="calendar-selectall-menu" key="key_selectAll" label="&calendar.selectall.label;" accesskey="&calendar.selectall.accesskey;" observes="select_all_command"/>
<menuseparator/>
<menuitem id="calendar-edit-preferences" label="&calendar.preferences.label;" accesskey="&calendar.preferences.accesskey;" oncommand="launchPreferences()"/>
</menupopup>
</menu>
<menu id="menu_View">
<menupopup id="mppView">
<menuitem id="calendar-view-menu-day" key="view_day_key" label="&calendar.flat.topbar.dayview;" accesskey="d" observes="day_view_command"/>
<menuitem id="calendar-view-menu-week" key="view_week_key" label="&calendar.flat.topbar.weekview;" accesskey="w" observes="week_view_command"/>
<menuitem id="calendar-view-menu-month" key="view_month_key" label="&calendar.flat.topbar.monthview;" accesskey="m" observes="month_view_command"/>
</menupopup>
</menu>
<menu id="menu_Go" label="&goMenu.label;" accesskey="&goMenu.accesskey;">
<menupopup id="mppView">
<menuitem id="calendar-view-menu-today" key="go_to_today_key" label="&goTodayCmd.label;" accesskey="&goTodayCmd.accesskey;" observes="go_today_command"/>
<menuitem id="calendar-view-menu-previous" key="go_backward_key" label="&goPreviousCmd.label;" accesskey="&goPreviousCmd.accesskey;" observes="previous_command"/>
<menuitem id="calendar-view-menu-next" key="go_forward_key" label="&goNextCmd.label;" accesskey="&goNextCmd.accesskey;" observes="next_command"/>
</menupopup>
</menu>
<menu id="tasksMenu">
<menupopup id="taskPopup">
<menuitem id="calendar-wizard-menu" key="wizard_key" label="Launch Wizard" observes="wizard_command"/>
<menuitem id="calendar-import-menu" key="import_key" label="&calendar.import.label;" accesskey="&calendar.import.accesskey;" observes="import_command"/>
<menuitem id="calendar-export-menu" key="export_key" label="&calendar.export.label;" accesskey="&calendar.export.accesskey;" observes="export_command"/>
<menuitem id="calendar-addserver-menu" label="&calendar.subscribe.label;" observes="new_server_command"/>
<menuitem id="calendar-publish-menu" label="&calendar.publish.label;" observes="publish_events_command"/>
<menuseparator/>
</menupopup>
</menu>
<menu id="windowMenu"/>
<menu accesskey="&helpMenuCmd.accesskey;" id="menu_Help">
<menupopup id="helpPopup">
<menuitem id="releaseUrl"/>
<menuseparator id="menu_HelpAboutSeparator"/>
<menuitem id="calendar-about-menu-item" label="&calendar.about.label;" accesskey="&calendar.about.accesskey;" oncommand="displayCalendarVersion()"/>
</menupopup>
</menu>
</menubar>
</overlay>