From 22ef0e8c396cd32a5ec2874a96cb432f8b2d95d4 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 2 Apr 2009 01:32:42 +1100 Subject: [PATCH] Prefer SBGetBrowser over getBrowser for Xulmus. --- xulmus/content/config.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xulmus/content/config.js b/xulmus/content/config.js index 7ddca7a0..ac364c3b 100644 --- a/xulmus/content/config.js +++ b/xulmus/content/config.js @@ -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(); } } }; //}}}