1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 08:12:27 +01:00

Prefer SBGetBrowser over getBrowser for Xulmus.

This commit is contained in:
Doug Kearns
2009-04-02 01:32:42 +11:00
parent 680147bf90
commit 22ef0e8c39

View File

@@ -41,8 +41,7 @@ const config = { //{{{
p: ["Player controls", ["player_wrapper"]]
},
//get visualbellWindow() getBrowser().mPanelContainer,
get isPlayerWindow() getBrowser().mCurrentTab == getBrowser().mediaTab,
get isPlayerWindow() SBGetBrowser().mCurrentTab == SBGetBrowser().mediaTab,
// focusContent() focuses this widget gSongbirdWindowController takes care of the focus.
get mainWindowID() "mainplayer",
get visualbellWindow() document.getElementById(this.mainWindowID),
@@ -173,7 +172,7 @@ const config = { //{{{
],
stop: function() {
getBrowser().mCurrentBrowser.stop();
SBGetBrowser().mCurrentBrowser.stop();
},
init: function ()
@@ -538,7 +537,7 @@ const config = { //{{{
}
window.BrowserStop = function () {
getBrowser().mCurrentBrowser.stop();
SBGetBrowser().mCurrentBrowser.stop();
}
}
}; //}}}