add: }  this.mDS.Assert(this.mPanelRes, gRDF.GetResource(kNCURI + "title"), gRDF.GetLiteral(kSidebarTitle), true); this.mDS.Assert(this.mPanelRes, gRDF.GetResource(kNCURI + "content"), gRDF.GetLiteral(kSidebarURL), true); this.mPanelSeq.AppendElement(this.mPanelRes); this.forceSidebarRefresh();  var msg = document.getElementById("txSidebarMsg"); msg.removeChild(msg.firstChild);  var bundle = document.getElementById("inspector-bundle"); msg.appendChild(document.createTextNode(bundle.getString("sidebarInstalled"))); var btn = document.getElementById("btnSidebarInstall"); btn.setAttribute("disabled", "true");  return true; 
context:   installSidebar: function()  {    if (!this.isSidebarInstalled()) {      this.mDS.Assert(this.mPanelRes, gRDF.GetResource(kNCURI + "title"), gRDF.GetLiteral(kSidebarTitle), true);      this.mDS.Assert(this.mPanelRes, gRDF.GetResource(kNCURI + "content"), gRDF.GetLiteral(kSidebarURL), true);      this.mPanelSeq.AppendElement(this.mPanelRes);      this.forceSidebarRefresh();            // XXX localize this      var msg = document.getElementById("txSidebarMsg");      msg.removeChild(msg.firstChild);      msg.appendChild(document.createTextNode("The sidebar is installed."));       var btn = document.getElementById("btnSidebarInstall");      btn.setAttribute("disabled", "true");            return true;    } else      return false;  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/aea57c3ed9a7e2e2498e23222a629291054c4255/pref-sidebar.js/clean/extensions/inspector/resources/content/prefs/pref-sidebar.js