diff options
Diffstat (limited to 'toolkit/mozapps/downloads/content/downloads.xul')
-rw-r--r-- | toolkit/mozapps/downloads/content/downloads.xul | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/toolkit/mozapps/downloads/content/downloads.xul b/toolkit/mozapps/downloads/content/downloads.xul index b5ca87a0c2..4bca152982 100644 --- a/toolkit/mozapps/downloads/content/downloads.xul +++ b/toolkit/mozapps/downloads/content/downloads.xul @@ -6,8 +6,10 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. #ifdef XP_UNIX +#ifndef XP_MACOSX #define XP_GNOME 1 #endif +#endif <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://mozapps/content/downloads/downloads.css"?> @@ -50,6 +52,9 @@ <key keycode="VK_RETURN" oncommand="doDefaultForSelected();"/> <key id="key_pauseResume" key=" " oncommand="performCommand('cmd_pauseResume');"/> <key id="key_removeFromList" keycode="VK_DELETE" oncommand="performCommand('cmd_removeFromList');"/> +#ifdef XP_MACOSX + <key id="key_removeFromList2" keycode="VK_BACK" oncommand="performCommand('cmd_removeFromList');"/> +#endif <key id="key_close" key="&cmd.close.commandKey;" oncommand="closeWindow(true);" modifiers="accel"/> #ifdef XP_GNOME <key id="key_close2" key="&cmd.close2Unix.commandKey;" oncommand="closeWindow(true);" modifiers="accel,shift"/> @@ -95,8 +100,13 @@ oncommand="performCommand('cmd_open');" cmd="cmd_open"/> <menuitem id="menuitem_show" +#ifdef XP_MACOSX + label="&cmd.showMac.label;" + accesskey="&cmd.showMac.accesskey;" +#else label="&cmd.show.label;" accesskey="&cmd.show.accesskey;" +#endif oncommand="performCommand('cmd_show');" cmd="cmd_show"/> |