Need an event when the toolbar customization is done

RESOLVED WORKSFORME

Status

()

Toolkit
Toolbars and Toolbar Customization
RESOLVED WORKSFORME
11 years ago
2 years ago

People

(Reporter: mkaply, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
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?
(Reporter)

Comment 2

11 years ago
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

Comment 3

11 years ago
I agree that this is a very missed feature that would make default handling much more elegant and custom toolbar integration much better.
(Reporter)

Comment 4

2 years ago
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.