mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 534750 - make shift-reload work in fennec [r=gavin.sharp]
This commit is contained in:
parent
147b3381b0
commit
4951a8cb8f
@ -719,6 +719,7 @@ var BrowserUI = {
|
||||
case "cmd_back":
|
||||
case "cmd_forward":
|
||||
case "cmd_reload":
|
||||
case "cmd_forceReload":
|
||||
case "cmd_stop":
|
||||
case "cmd_go":
|
||||
case "cmd_openLocation":
|
||||
@ -759,6 +760,13 @@ var BrowserUI = {
|
||||
case "cmd_reload":
|
||||
browser.reload();
|
||||
break;
|
||||
case "cmd_forceReload":
|
||||
{
|
||||
const reloadFlags = Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY |
|
||||
Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE;
|
||||
browser.reloadWithFlags(reloadFlags);
|
||||
break;
|
||||
}
|
||||
case "cmd_stop":
|
||||
browser.stop();
|
||||
break;
|
||||
|
@ -102,6 +102,7 @@
|
||||
<command id="cmd_back" label="&back.label;" disabled="true" oncommand="CommandUpdater.doCommand(this.id);"/>
|
||||
<command id="cmd_forward" label="&forward.label;" disabled="true" oncommand="CommandUpdater.doCommand(this.id);"/>
|
||||
<command id="cmd_reload" label="&reload.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
||||
<command id="cmd_forceReload" oncommand="CommandUpdater.doCommand(this.id);"/>
|
||||
<command id="cmd_stop" label="&stop.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
||||
<command id="cmd_go" label="&go.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
||||
<command id="cmd_openLocation" label="&openLocation.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
||||
@ -150,9 +151,12 @@
|
||||
<key id="key_forward2" keycode="VK_BACK" command="cmd_forward" modifiers="shift"/>
|
||||
#ifndef MOZ_PLATFORM_MAEMO
|
||||
<key id="key_reload" keycode="VK_F5" command="cmd_reload"/>
|
||||
<key id="key_forceReload" keycode="VK_F5" modifiers="shift" command="cmd_forceReload"/>
|
||||
#else
|
||||
<!-- F5 on maemo is "home" which is a task switching key -->
|
||||
#endif
|
||||
<key id="key_reload2" key="r" modifiers="accel" command="cmd_reload"/>
|
||||
<key id="key_forceReload2" key="r" modifiers="accel,shift" command="cmd_forceReload"/>
|
||||
<key id="key_focusURL" key="l" modifiers="accel" command="cmd_openLocation"/>
|
||||
|
||||
<!-- scrolling -->
|
||||
|
Loading…
Reference in New Issue
Block a user