summaryrefslogtreecommitdiff
path: root/xulmus/content/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'xulmus/content/config.js')
-rw-r--r--xulmus/content/config.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/xulmus/content/config.js b/xulmus/content/config.js
index 6ac9546d..a1991f06 100644
--- a/xulmus/content/config.js
+++ b/xulmus/content/config.js
@@ -32,7 +32,7 @@ const config = { //{{{
/*** required options, no checks done if they really exist, so be careful ***/
name: "Xulmus",
hostApplication: "Songbird",
- //mainWindowID: "mainplayer",
+
/*** optional options, there are checked for existence and a fallback provided ***/
features: ["bookmarks", "hints", "marks", "history", "quickmarks", "session", "tabs", "windows", "player"],
defaults: {
@@ -48,7 +48,6 @@ const config = { //{{{
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),
styleableChrome: "chrome://gonzo/content/xul/mainplayer.xul",
@@ -537,8 +536,7 @@ const config = { //{{{
{
try
{
- let id = this.mainWindowID || "mainplayer";
- document.getElementById(id).setAttribute("titlemodifier", value);
+ document.getElementById(config.mainWindowID).setAttribute("titlemodifier", value);
if (window.content.document.title.length > 0)
document.title = window.content.document.title + " - " + value;
else