Bug 509954 - Make F5 reload on other platforms than Windows. r+sr=Neil
Enable it for Linux/Unix only, since we don't want it on Mac.
--- a/suite/browser/unix/platformNavigationBindings.xul
+++ b/suite/browser/unix/platformNavigationBindings.xul
@@ -11,21 +11,31 @@
<key id="goForwardKb" keycode="&goForwardCmd.keyCode;" command="Browser:Forward" modifiers="alt"/>
<!-- Some people apparently use this combination too on Unix...
we live and learn. -->
<key key="&goBackCmd.commandKey;" command="Browser:Back" modifiers="accel"/>
<key key="&goForwardCmd.commandKey;" command="Browser:Forward" modifiers="accel"/>
<key id="key_stop" keycode="VK_ESCAPE" oncommand="BrowserStop();"/>
+ <!-- Supporting IE 'refresh' shortcut key -->
+ <key keycode="VK_F5" oncommand="BrowserReload();"/>
+ <key keycode="VK_F5" modifiers="control" oncommand="BrowserReloadSkipCache();"/>
+
<!-- Specific keybinding for Sun keyboard -->
<key keycode="&findOnCmd.commandkey2;" command="Browser:Find"/>
<key id="goHome" keycode="VK_HOME" oncommand="BrowserHome();" modifiers="alt"/>
<key id="key_fullScreen" keycode="VK_F11" command="View:FullScreen"/>
<key id="key_newTabWithTargetBg" keycode="VK_INSERT" command="cmd_newTabWithTarget"/>
<key id="key_newTabWithTargetFg" keycode="VK_INSERT" modifiers="alt" command="cmd_newTabWithTarget"/>
</keyset>
+ <keyset id="viewSourceKeys">
+ <!-- Supporting IE 'refresh' shortcut key in view source -->
+ <key keycode="VK_F5" oncommand="BrowserReload();"/>
+ <key keycode="VK_F5" modifiers="control" oncommand="BrowserReloadSkipCache();"/>
+ </keyset>
+
<menuitem id="menuitem_fullScreen" hidden="false"/>
</overlay>