1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-24 20:55:44 +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"]] p: ["Player controls", ["player_wrapper"]]
}, },
//get visualbellWindow() getBrowser().mPanelContainer, get isPlayerWindow() SBGetBrowser().mCurrentTab == SBGetBrowser().mediaTab,
get isPlayerWindow() getBrowser().mCurrentTab == getBrowser().mediaTab,
// focusContent() focuses this widget gSongbirdWindowController takes care of the focus. // focusContent() focuses this widget gSongbirdWindowController takes care of the focus.
get mainWindowID() "mainplayer", get mainWindowID() "mainplayer",
get visualbellWindow() document.getElementById(this.mainWindowID), get visualbellWindow() document.getElementById(this.mainWindowID),
@@ -173,7 +172,7 @@ const config = { //{{{
], ],
stop: function() { stop: function() {
getBrowser().mCurrentBrowser.stop(); SBGetBrowser().mCurrentBrowser.stop();
}, },
init: function () init: function ()
@@ -538,7 +537,7 @@ const config = { //{{{
} }
window.BrowserStop = function () { window.BrowserStop = function () {
getBrowser().mCurrentBrowser.stop(); SBGetBrowser().mCurrentBrowser.stop();
} }
} }
}; //}}} }; //}}}