зеркало из https://github.com/mozilla/gecko-dev.git
bug 208035 - Use backspace key for back function in Linux, change #ifdef XP_WIN to #ifndef XP_MACOSX
This commit is contained in:
Родитель
202cc2635e
Коммит
5976413914
|
@ -71,7 +71,7 @@
|
|||
<command id="cmd_bm_rename" oncommand="goDoCommand('cmd_bm_rename');"/>
|
||||
<command id="cmd_bm_moveBookmark" oncommand="goDoCommand('cmd_bm_moveBookmark');"/>
|
||||
|
||||
#ifdef XP_WIN
|
||||
#ifndef XP_MACOSX
|
||||
<command id="cmd_handleBackspace" oncommand="BrowserHandleBackspace();" />
|
||||
#endif
|
||||
|
||||
|
@ -206,7 +206,7 @@
|
|||
modifiers="accel"/>
|
||||
<key id="key_delete" keycode="VK_DELETE" command="cmd_delete"/>
|
||||
|
||||
#ifdef XP_WIN
|
||||
#ifndef XP_MACOSX
|
||||
<key keycode="VK_BACK" command="cmd_handleBackspace"/>
|
||||
<key keycode="VK_BACK" command="Browser:Forward" modifiers="shift"/>
|
||||
#endif
|
||||
|
|
|
@ -780,7 +780,7 @@ function BrowserBack(aEvent, aIgnoreAlt)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef XP_WIN
|
||||
#ifndef XP_MACOSX
|
||||
function BrowserHandleBackspace()
|
||||
{
|
||||
// The order of seeing keystrokes is this:
|
||||
|
|
Загрузка…
Ссылка в новой задаче