bug 345490 - wires up Page Setup menu. r=jminta

This commit is contained in:
mattwillis%gmail.com 2006-07-25 02:21:10 +00:00
Родитель 8d3bb5035f
Коммит a11dfedd8e
3 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -121,11 +121,10 @@
accesskey="&calendar.publish.accesskey;"
observes="publish_events_command"/>
<menuseparator/>
<!-- XXX lilmatt: Finish this! -->
<menuitem id="calendar-page-setup-menu"
label="&calendar.pagesetup.label;"
accesskey="&calendar.pagesetup.accesskey;"
disabled="true"/>
observes="cmd_pageSetup"/>
<menuitem id="calendar-print-menu"
key="print_key"
label="&calendar.print.label;"

Просмотреть файл

@ -81,3 +81,5 @@
<!-- NEEDED FOR APPLICATION SUPPORT -->
<script type="application/x-javascript" src="chrome://calendar/content/applicationUtil.js"/>
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/x-javascript" src="chrome://global/content/printUtils.js"/>

Просмотреть файл

@ -52,6 +52,7 @@
<command id="delete_command_no_confirm" oncommand="deleteEventCommand( true )" disabled="true" disabledwhennoeventsselected="true"/>
<command id="modify_command" oncommand="editEvent()" disabled="true" disabledwhennoeventsselected="true"/>
<command id="send_event_command" oncommand="sendEvent()" disabled="true" disabledwhennoeventsselected="true"/>
<command id="cmd_pageSetup" oncommand="PrintUtils.showPageSetup();"/>
<command id="print_command" oncommand="print()"/>
<command id="undo_command" oncommand="undo()" disabled="true"/>