When an extension has a button on the toolbar, it needs to know whether or not to disable it when customizing the toolbar is done.
Hmm, do you want this per-app, in the FooToolboxCustomizeDone function after the app has finished with its restoration? A single event fired by customizeToolbar.js's notifyParentComplete, that both BrowserToolboxCustomizeDone and MyFunkyBrowserToolbarbutton listen for? Two events, app-customize-done and extension-customize-done?
I think there should ne a single event fired by customizeToolbar.js. I looked at BrowserToolboxCustomizeDone and it seems like a prtty clunky way to do it.
Component: Toolbars → Toolbars and Toolbar Customization
Product: Firefox → Toolkit
QA Contact: toolbars → toolbars
I agree that this is a very missed feature that would make default handling much more elegant and custom toolbar integration much better.
This exists now https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Toolbars/Toolbar_customization_events aftercustomization
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.