зеркало из https://github.com/mozilla/gecko-dev.git
Bug 258864 : View > 'Full Screen' menu entry does not become ticked / checked when in full screen mode, patch by David Tenser (djst) <djst.mozilla@gmail.com>, r=mconnor
This commit is contained in:
Родитель
859bfcad5f
Коммит
fbbcd45d8e
|
@ -303,6 +303,8 @@
|
|||
<menuitem accesskey="&pageSourceCmd.accesskey;" label="&pageSourceCmd.label;" key="key_viewSource" command="View:PageSource"/>
|
||||
<menuitem accesskey="&fullScreenCmd.accesskey;"
|
||||
label="&fullScreenCmd.label;" key="key_fullScreen"
|
||||
id="fullScreenItem"
|
||||
type="checkbox"
|
||||
command="View:FullScreen"/>
|
||||
<menuseparator hidden="true" id="documentDirection-separator"/>
|
||||
<menuitem hidden="true" id="documentDirection-swap"
|
||||
|
|
|
@ -3071,6 +3071,7 @@ var FullScreen =
|
|||
// show/hide all menubars, toolbars, and statusbars (except the full screen toolbar)
|
||||
this.showXULChrome("toolbar", window.fullScreen);
|
||||
this.showXULChrome("statusbar", window.fullScreen);
|
||||
document.getElementById("fullScreenItem").setAttribute("checked", !window.fullScreen);
|
||||
},
|
||||
|
||||
showXULChrome: function(aTag, aShow)
|
||||
|
|
Загрузка…
Ссылка в новой задаче