Closed Bug 963111 Opened 12 years ago Closed 12 years ago

Toolbar should be able to accept buttons as well, other than frames

Categories

(Add-on SDK Graveyard :: General, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zer0, Assigned: zer0)

References

Details

Attachments

(2 files)

Currently the Toolbar is accepting only `Frame` instances in `items` property – as the prototype before. Developers should be able to add buttons too.
Assignee: nobody → zer0
Comment on attachment 8364405 [details] [review] Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1361 Matteo, I do like the patch, I'm r- it since I want to get it off my queue until I get a response on the comment in pull, after which I'll be comfortable to r+ it.
Attachment #8364405 - Flags: review?(rFobic) → review-
I replied to the comments in PR, let me know.
Comment on attachment 8364405 [details] [review] Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1361 Changeing to r+ given the explanation I got on IRC. Matteo, could you still please put a comment explaining that id translation is done at the model level since toolbar depends on identify to get ID's for CUI.
Attachment #8364405 - Flags: review- → review+
Commit pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/0e601a832fb24233a997cf136d06bd063e77291f Merge pull request #1361 from ZER0/toolbar-button/963111 fix Bug 963111 - Toolbar should be able to accept buttons as well, other than frames
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 8388449 [details] Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1425/commits I wasn't sure if it was worthy create a new bug for that. Let me know for the future, just in case, what's the preferable option.
Attachment #8388449 - Attachment description: test case → Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1425/commits
Attachment #8388449 - Flags: review?(rFobic)
Comment on attachment 8388449 [details] Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1425/commits Test looks good, although I'm confused why there's dependency on customizable stuff. R+ as long as what you land will only contain button test.
Attachment #8388449 - Flags: review?(rFobic) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/2ef34353773adf45529d9287e7d75b476cf3187e Bug 963111 - Toolbar should be able to accept buttons as well, other than frames - Added test case https://github.com/mozilla/addon-sdk/commit/50251e5b632ea644a4a8618361dd47d280773bf3 Merge pull request #1425 from ZER0/toolbar-button-test/963111 fix Bug 963111 - Toolbar should be able to accept buttons as well, other than frames r=@gozala
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: