add:  #ifdef MOZ_WIDGET_GTK2 var shell = getShellService(); if (!shell) document.getElementById("defaultBrowserPrefs").hidden = true; #endif  
context: function Startup(){  var useButton = document.getElementById("browserUseCurrent");    try {    var browser = top.opener.document.getElementById("content");      var l = browser.mPanelContainer.childNodes.length;    if (l > 1)      useButton.label = useButton.getAttribute("label2");  } catch (e) {     // prefwindow wasn't opened from a browser window, so no current page    useButton.disabled = true;  }      parent.hPrefWindow.registerOKCallbackFunc(onOK);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/56b2b34f2b6ab28fc4a8ba91baf3be478a9cc983/pref-navigator.js/clean/browser/components/prefwindow/content/pref-navigator.js