Merge lp:~niclasl/granite/new-dn-api into lp:~elementary-pantheon/granite/granite
Status: | Merged | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | David Gomes | ||||||||||||||||||||||||
Approved revision: | 656 | ||||||||||||||||||||||||
Merged at revision: | 667 | ||||||||||||||||||||||||
Proposed branch: | lp:~niclasl/granite/new-dn-api | ||||||||||||||||||||||||
Merge into: | lp:~elementary-pantheon/granite/granite | ||||||||||||||||||||||||
Diff against target: |
598 lines (+168/-121) 2 files modified
demo/GraniteDemo.vala (+14/-8) lib/Widgets/DynamicNotebook.vala (+154/-113) |
||||||||||||||||||||||||
To merge this branch: | bzr merge lp:~niclasl/granite/new-dn-api | ||||||||||||||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Gomes (community) | Approve | ||
Mario Guerriero | Pending | ||
Review via email: mp+198149@code.launchpad.net |
Commit message
Implemented a new DN API which will introduce better functionality in terms of tab dragging, tab moving and tab organization, but also bring ABI breaks to apps written against the old API.
Replaced the existing tab_added/
Tab objects are now always created outside DynamicNotebook, i.e. in the application that uses the notebook.
Splitted the tab_moved signal into the signals tab_reordered and tab_moved.
Implemented a settable upper limit of how many tabs to save when the restore tabs feature is enabled. The Granite Demo is extended to demonstrate this feature.
Fixes lp:1066578 lp:1170414 lp:1181657 lp:1198456 lp:1198513 and lp:1226058
Mario, Julián Unrrein said that you use DynamicNotebook a lot so I added you as a reviewer