Permalink
Browse files

Issue 6169: The addon bar should not open on install

  • Loading branch information...
1 parent f5c0cfc commit dc8319e21d3f3051d901f7517de2e2daf0599ca0 @janodvarko janodvarko committed Jan 3, 2013
Showing with 1 addition and 30 deletions.
  1. +1 −30 extension/content/firebug/chrome/knownIssues.js
@@ -15,9 +15,6 @@ function(Obj, Options, Firebug, Dom, Firefox) {
const Cc = Components.classes;
const Ci = Components.interfaces;
-const versionChecker = Cc["@mozilla.org/xpcom/version-comparator;1"].getService(Ci.nsIVersionComparator);
-const appInfo = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo);
-
// ********************************************************************************************* //
/**
@@ -30,34 +27,8 @@ Firebug.KnownIssues = Obj.extend(Firebug.Module,
initialize: function()
{
- // In Firefox 4.0b7+ the addon-toolbar is not showing up. We'll show it once just
- // in case the user overlooks the new Firebug start-button in the toolbar. As soon
- // as users will get used to the toolbar button this could be removed completely.
- if (!Firebug.addonBarOpened)
- {
- var addonBar = Firefox.getElementById("addon-bar");
-
- // Open the addon bar
- Dom.collapse(addonBar, false);
- document.persist("addon-bar", "collapsed");
-
- // This is just one time operation.
- Firebug.Options.set("addonBarOpened", true);
- }
+ // TODO: put any workarounds here
},
-
- internationalizeUI: function(doc)
- {
- // See also issue 4529. Since the memory profiler is still a lab thing,
- // hide the "Memory Profiler" button begin a pref.
- // xxxHonza: removed from 1.10 (issue 5599)
- /*if (!Options.get("memoryProfilerEnable"))
- {
- var button = doc.getElementById("fbToggleMemoryProfiling");
- if (button)
- Dom.collapse(button, true);
- }*/
- }
});
// ********************************************************************************************* //

2 comments on commit dc8319e

@simonlindholm
Member

Can remove addonBarOpened from defaults/ and options.js too.

@janodvarko
Owner

True, done at:
4e26b9a

Honza

Please sign in to comment.