зеркало из https://github.com/mozilla/gecko-dev.git
Bug 283506 - [Mac] DOM Inspector menu item should be dimmed, not disappear, with no windows open. r=mconnor
This commit is contained in:
Родитель
3821baf94b
Коммит
8518018fbe
|
@ -964,7 +964,7 @@ function nonBrowserWindowStartup()
|
|||
'cmd_pageSetup', 'cmd_print', 'cmd_find', 'cmd_findAgain', 'viewToolbarsMenu',
|
||||
'cmd_toggleTaskbar', 'viewSidebarMenuMenu', 'Browser:Reload', 'Browser:ReloadSkipCache',
|
||||
'viewTextZoomMenu', 'pageStyleMenu', 'charsetMenu', 'View:PageSource', 'View:FullScreen',
|
||||
'viewHistorySidebar', 'Browser:AddBookmarkAs', 'Tools:Search', 'View:PageInfo'];
|
||||
'viewHistorySidebar', 'Browser:AddBookmarkAs', 'Tools:Search', 'View:PageInfo', 'Tasks:InspectPage'];
|
||||
var element;
|
||||
|
||||
for (var id in disabledItems)
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
<!-- overlay information -->
|
||||
<RDF:Seq about="urn:mozilla:overlays">
|
||||
<RDF:li resource="chrome://browser/content/browser.xul"/>
|
||||
<RDF:li resource="chrome://browser/content/macBrowserOverlay.xul"/>
|
||||
<RDF:li resource="chrome://inspector/content/commandOverlay.xul"/>
|
||||
<RDF:li resource="chrome://inspector/content/keysetOverlay.xul"/>
|
||||
<RDF:li resource="chrome://inspector/content/popupOverlay.xul"/>
|
||||
|
@ -28,6 +29,9 @@
|
|||
<RDF:Seq about="chrome://browser/content/browser.xul">
|
||||
<RDF:li>chrome://inspector/content/tasksOverlay.xul</RDF:li>
|
||||
</RDF:Seq>
|
||||
<RDF:Seq about="chrome://browser/content/macBrowserOverlay.xul">
|
||||
<RDF:li>chrome://inspector/content/tasksOverlay.xul</RDF:li>
|
||||
</RDF:Seq>
|
||||
|
||||
<!-- Inspector Overlays -->
|
||||
<RDF:Seq about="chrome://inspector/content/commandOverlay.xul">
|
||||
|
|
Загрузка…
Ссылка в новой задаче