parent
cb5ef83f0a
commit
fb3466b392
2 changed files with 7 additions and 5 deletions
|
@ -4,6 +4,7 @@ window.addEventListener('DOMContentLoaded', () => {
|
|||
let isMac = AppConstants.platform == 'macosx';
|
||||
|
||||
let redoKey = document.getElementById('key_redo');
|
||||
let macUnixQuitKey = document.getElementById('key_quitApplication');
|
||||
|
||||
let fileQuitSeparator = document.getElementById('menu_fileQuitSeparatorNonMac');
|
||||
let fileQuitItemWin = document.getElementById('menu_fileQuitItemWin');
|
||||
|
@ -22,6 +23,7 @@ window.addEventListener('DOMContentLoaded', () => {
|
|||
redoKey.setAttribute('data-l10n-id', 'text-action-redo-shortcut');
|
||||
redoKey.setAttribute('modifiers', 'accel');
|
||||
}
|
||||
if (macUnixQuitKey) macUnixQuitKey.disabled = true;
|
||||
}
|
||||
else {
|
||||
// Set behavior on all non-Windows platforms
|
||||
|
|
|
@ -104,6 +104,11 @@
|
|||
|
||||
<keyset id="mainKeyset">
|
||||
<key id="key_close" key="&closeCmd.key;" command="cmd_close" modifiers="accel"/>
|
||||
<key id="key_quitApplication"
|
||||
key="&quitApplicationCmdMac.key;"
|
||||
command="cmd_quitApplication"
|
||||
modifiers="accel"
|
||||
internal="true"/>
|
||||
<key id="key_import"
|
||||
key="&importCmd.key;"
|
||||
command="cmd_zotero_import"
|
||||
|
@ -576,11 +581,6 @@
|
|||
oncommand="ZoteroStandalone.openHelp();"
|
||||
key="&helpMac.commandkey;"
|
||||
modifiers="accel"/>
|
||||
<key id="key_quitApplication"
|
||||
key="&quitApplicationCmdMac.key;"
|
||||
command="cmd_quitApplication"
|
||||
modifiers="accel"
|
||||
internal="true"/>
|
||||
</keyset>
|
||||
|
||||
<menu id="windowMenu"
|
||||
|
|
Loading…
Add table
Reference in a new issue