зеркало из https://github.com/mozilla/gecko-dev.git
a stab at further improvements to Ts, Tp, and orange on balsa. Remove scripts when MOZ_PLACES is set that are not required. Don't attach a page show listener - it doesn't work anyway unless the buttons are visible!
This commit is contained in:
Родитель
d5cbf0eca6
Коммит
c1b55e69ba
|
@ -42,8 +42,10 @@
|
||||||
<script type="application/x-javascript" src="chrome://global/content/findBar.js"/>
|
<script type="application/x-javascript" src="chrome://global/content/findBar.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://global/content/printUtils.js"/>
|
<script type="application/x-javascript" src="chrome://global/content/printUtils.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
<script type="application/x-javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
||||||
|
#ifndef MOZ_PLACES
|
||||||
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"/>
|
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarksMenu.js"/>
|
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarksMenu.js"/>
|
||||||
|
#endif
|
||||||
<script type="application/x-javascript" src="chrome://global/content/viewZoomOverlay.js"/>
|
<script type="application/x-javascript" src="chrome://global/content/viewZoomOverlay.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://browser/content/browser.js"/>
|
<script type="application/x-javascript" src="chrome://browser/content/browser.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>
|
<script type="application/x-javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>
|
||||||
|
|
|
@ -198,7 +198,8 @@ var PlacesBrowserShim = {
|
||||||
function onPageShow(e){
|
function onPageShow(e){
|
||||||
self.onPageShow(e);
|
self.onPageShow(e);
|
||||||
}
|
}
|
||||||
getBrowser().addEventListener("pageshow", onPageShow, true);
|
// XXXben comment out until we figure out what's up with tboxes.
|
||||||
|
//getBrowser().addEventListener("pageshow", onPageShow, true);
|
||||||
|
|
||||||
function onTabSwitch(e) {
|
function onTabSwitch(e) {
|
||||||
self.onTabSwitch(e);
|
self.onTabSwitch(e);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче