зеркало из https://github.com/mozilla/pjs.git
Bug 251751 - Firefox Help window should not be alwaysRaised. r=mconnor@steelgryphon.com
This commit is contained in:
Родитель
062138b01a
Коммит
c2c2676b53
|
@ -884,7 +884,14 @@ function getXulWin()
|
|||
# appear in those builds.
|
||||
#
|
||||
# element - The DOM node that persists the checked state.
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
#define HELP_ALWAYS_RAISED_TOGGLE
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
#define HELP_ALWAYS_RAISED_TOGGLE
|
||||
#endif
|
||||
#ifdef HELP_ALWAYS_RAISED_TOGGLE
|
||||
function toggleZLevel(element)
|
||||
{
|
||||
var xulwin = getXulWin();
|
||||
|
|
|
@ -60,7 +60,13 @@
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
width="700"
|
||||
height="550"
|
||||
#ifdef XP_MACOSX
|
||||
#define HELP_ALWAYS_RAISED_TOGGLE
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
#define HELP_ALWAYS_RAISED_TOGGLE
|
||||
#endif
|
||||
#ifdef HELP_ALWAYS_RAISED_TOGGLE
|
||||
persist="width height screenX screenY zlevel"
|
||||
#else
|
||||
persist="width height screenX screenY"
|
||||
|
|
|
@ -68,7 +68,13 @@
|
|||
label="&textZoomReduceBtn.label;"
|
||||
accesskey="&textZoomReduceBtn.accesskey;"
|
||||
oncommand="ZoomManager.prototype.getInstance().reduce();"/>
|
||||
#ifdef XP_MACOSX
|
||||
#define HELP_ALWAYS_RAISED_TOGGLE
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
#define HELP_ALWAYS_RAISED_TOGGLE
|
||||
#endif
|
||||
#ifdef HELP_ALWAYS_RAISED_TOGGLE
|
||||
<menuseparator/>
|
||||
<menuitem id="context-zlevel"
|
||||
type="checkbox"
|
||||
|
|
Загрузка…
Ссылка в новой задаче