зеркало из https://github.com/mozilla/pjs.git
Bug 229438 Support the "Find" and "Help" keys on Sun keyboard
r=timeless, sr=henry.jia patch by Simford.Dong@sun.com
This commit is contained in:
Родитель
e2fe7bdc8d
Коммит
9bdb253d4f
|
@ -65,6 +65,7 @@
|
|||
<key id="findprevkb" key="&editfindprev.keybinding;" observes="cmd_findPrev" modifiers="accel,shift"/>
|
||||
<key keycode="&editfindnext.keybinding2;" observes="cmd_findNext"/>
|
||||
<key keycode="&editfindprev.keybinding2;" observes="cmd_findPrev" modifiers="shift"/>
|
||||
<key keycode="&editfind.keybinding2;" observes="cmd_find"/>
|
||||
<key id="checkspellingkb"
|
||||
key="&editcheckspelling.keybinding;"
|
||||
observes="cmd_spelling"
|
||||
|
|
|
@ -112,6 +112,7 @@
|
|||
<!ENTITY findCmd.label "Find and Replace...">
|
||||
<!ENTITY editfind.accesskey "f">
|
||||
<!ENTITY editfind.keybinding "f">
|
||||
<!ENTITY editfind.keybinding2 "VK_F19">
|
||||
<!ENTITY findAgainCmd.label "Find Again">
|
||||
<!ENTITY editfindnext.accesskey "g">
|
||||
<!ENTITY editfindnext.keybinding "g">
|
||||
|
|
|
@ -335,6 +335,7 @@ Rights Reserved.
|
|||
<key id="key_findPrev" key="&findPrevCmd.key;" oncommand="goDoCommand('cmd_findPrev')" modifiers="accel, shift"/>
|
||||
<key keycode="&findAgainCmd.key2;" oncommand="goDoCommand('cmd_findAgain')"/>
|
||||
<key keycode="&findPrevCmd.key2;" oncommand="goDoCommand('cmd_findPrev')" modifiers="shift"/>
|
||||
<key keycode="&findCmd.key2;" oncommand="goDoCommand('cmd_find')"/>
|
||||
<key id="key_findTypeText"/>
|
||||
<key id="key_findTypeLinks"/>
|
||||
<key id="key_stop" keycode="VK_ESCAPE" command="cmd_stop"/>
|
||||
|
|
|
@ -243,6 +243,7 @@ Rights Reserved.
|
|||
<!ENTITY findCmd.label "Find in This Message...">
|
||||
<!ENTITY findCmd.accesskey "F">
|
||||
<!ENTITY findCmd.key "f">
|
||||
<!ENTITY findCmd.key2 "VK_F19">
|
||||
<!ENTITY findAgainCmd.label "Find Again">
|
||||
<!ENTITY findAgainCmd.accesskey "g">
|
||||
<!ENTITY findAgainCmd.key "g">
|
||||
|
|
|
@ -153,6 +153,7 @@ struct nsKeyConverter nsKeycodes[] = {
|
|||
// map Sun Keyboard special keysyms on to NS_VK keys
|
||||
struct nsKeyConverter nsSunKeycodes[] = {
|
||||
{NS_VK_ESCAPE, GDK_F11 }, //bug 57262, Sun Stop key generates F11 keysym
|
||||
{NS_VK_F1, GDK_Help }, //Mapping Help key to F1
|
||||
{NS_VK_F11, 0x1005ff10 }, //Sun F11 key generates SunF36(0x1005ff10) keysym
|
||||
{NS_VK_F12, 0x1005ff11 }, //Sun F12 key generates SunF37(0x1005ff11) keysym
|
||||
{NS_VK_PAGE_UP, GDK_F29 }, //KP_Prior
|
||||
|
|
|
@ -86,6 +86,7 @@
|
|||
<key id="key_findPrev" key="&findPrevCmd.commandkey;" command="Browser:FindPrev" modifiers="accel,shift"/>
|
||||
<key keycode="&findAgainCmd.commandkey2;" command="Browser:FindAgain"/>
|
||||
<key keycode="&findPrevCmd.commandkey2;" command="Browser:FindPrev" modifiers="shift"/>
|
||||
<key keycode="&findOnCmd.commandkey2;" command="Browser:Find"/>
|
||||
<key id="key_findTypeText"/>
|
||||
<key id="key_findTypeLinks"/>
|
||||
|
||||
|
|
|
@ -121,6 +121,7 @@
|
|||
<!ENTITY findPrevCmd.commandkey "g">
|
||||
<!ENTITY findAgainCmd.commandkey2 "VK_F3">
|
||||
<!ENTITY findPrevCmd.commandkey2 "VK_F3">
|
||||
<!ENTITY findOnCmd.commandkey2 "VK_F19">
|
||||
|
||||
<!ENTITY searchInternetCmd.label "Search the Web">
|
||||
<!ENTITY searchInternetCmd.accesskey "S">
|
||||
|
|
Загрузка…
Ссылка в новой задаче