mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +09:00
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
This commit is contained in:
parent
02c59100a8
commit
a4b0f333ba
153 changed files with 173 additions and 4556 deletions
|
|
@ -1,15 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
# -*- Mode: XML; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# 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"?>
|
||||
|
|
@ -52,9 +50,6 @@
|
|||
<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"/>
|
||||
|
|
@ -100,13 +95,8 @@
|
|||
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"/>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0"?>
|
||||
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
# -*- Mode: XML; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
|
@ -68,11 +68,7 @@
|
|||
<hbox id="openHandlerBox" flex="1" align="center"/>
|
||||
<hbox flex="1" align="center">
|
||||
<button id="chooseButton" oncommand="dialog.chooseApp();"
|
||||
#ifdef XP_MACOSX
|
||||
label="&chooseHandlerMac.label;" accesskey="&chooseHandlerMac.accesskey;"/>
|
||||
#else
|
||||
label="&chooseHandler.label;" accesskey="&chooseHandler.accesskey;"/>
|
||||
#endif
|
||||
</hbox>
|
||||
</deck>
|
||||
</hbox>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue