mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 14:57:30 +09:00
[Pale-Moon] Issue #1865 - Remove XP_MACOSX conditional blocks.
This commit is contained in:
parent
0006a4612d
commit
a984b1dd93
60 changed files with 9 additions and 1011 deletions
|
|
@ -157,11 +157,7 @@ function whereToOpenLink(e, ignoreButton, ignoreAlt) {
|
|||
|
||||
// Don't do anything special with right-mouse clicks. They're probably clicks on context menu items.
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
if (meta || (middle && middleUsesTabs)) {
|
||||
#else
|
||||
if (ctrl || (middle && middleUsesTabs)) {
|
||||
#endif
|
||||
return shift ? "tabshifted" : "tab";
|
||||
}
|
||||
|
||||
|
|
@ -654,7 +650,6 @@ function buildHelpMenu() {
|
|||
}
|
||||
}
|
||||
#else
|
||||
#ifndef XP_MACOSX
|
||||
// Some extensions may rely on these being present so only hide the about
|
||||
// separator when there are no elements besides the check for updates menuitem
|
||||
// in between the about separator and the updates separator.
|
||||
|
|
@ -666,7 +661,6 @@ function buildHelpMenu() {
|
|||
updatesSeparator.hidden = true;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -681,8 +675,6 @@ function openAboutDialog() {
|
|||
|
||||
#ifdef XP_WIN
|
||||
var features = "chrome,centerscreen,dependent";
|
||||
#elifdef XP_MACOSX
|
||||
var features = "chrome,resizable=no,minimizable=no";
|
||||
#else
|
||||
var features = "chrome,centerscreen,dependent,dialog=no";
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue