Fix bug 402593 - Sunbird lacks Ctrl+Q to exit. r=philipp,p=anant@kix.in

This commit is contained in:
mozilla%kewis.ch 2008-04-11 15:10:23 +00:00
Родитель 017bcc6860
Коммит f77317bf26
3 изменённых файлов: 10 добавлений и 6 удалений

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

@ -116,8 +116,8 @@
<!ENTITY calendar.quit.label "Quit">
<!ENTITY calendar.quit.accesskey "Q">
<!ENTITY calendar.quit.key "Q">
<!ENTITY calendar.quit.label.mac "Quit &brandShortName;">
<!ENTITY calendar.quit.key.mac "Q">
<!ENTITY calendar.quit.modifiers.mac "accel">
<!ENTITY calendar.exit.label "Exit">

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

@ -123,8 +123,8 @@
#ifdef XP_MACOSX
<menuitem id="menu_FileQuitItem"
label="&calendar.quit.label.mac;"
key="key_quitCmdMac"
oncommand="goQuitApplication()"/>
key="key_quitApplication"
command="cmd_quitApplication"/>
#else
<menuseparator id="calendar-print-sep"/>
#ifdef XP_WIN
@ -136,7 +136,8 @@
<menuitem id="calendar-quit-menu"
label="&calendar.quit.label;"
accesskey="&calendar.quit.accesskey;"
oncommand="goQuitApplication()"/>
key="key_quitApplication"
command="cmd_quitApplication"/>
#endif
#endif
</menupopup>

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

@ -70,7 +70,8 @@
<command id="open_local_calendar_command" oncommand="openLocalCalendar()"/>
<command id="go_date_command" oncommand="gCalendarWindow.pickAndGoToDate()"/>
<command id="cmd_quitApplication" oncommand="goQuitApplication()"/>
<command id="close_calendar_command" oncommand="closeCalendar()"/>
#ifdef XP_MACOSX
@ -119,10 +120,12 @@
#ifdef XP_MACOSX
<key id="key_minimizeWindow" key="&minimizeWindow.key;" command="minimizeWindow" modifiers="accel"/>
<key id="key_preferencesCmdMac" key="&preferencesCmdMac.commandkey;" modifiers="&preferencesCmdMac.modifiers;"/>
<key id="key_quitCmdMac" key="&calendar.quit.key.mac;" modifiers="&calendar.quit.modifiers.mac;"/>
<key id="key_hideThisAppCmdMac" key="&hideThisAppCmdMac.commandkey;" modifiers="&hideThisAppCmdMac.modifiers;"/>
<key id="key_hideOtherAppsCmdMac" key="&hideOtherAppsCmdMac.commandkey;" modifiers="&hideOtherAppsCmdMac.modifiers;"/>
#endif
#ifdef XP_UNIX
<key id="key_quitApplication" key="&calendar.quit.key;" command="cmd_quitApplication" modifiers="accel"/>
#endif
</keyset>
<keyset id="tasksKeys"/>