Merge lp:~victored/granite/source-list-tweaks into lp:~elementary-pantheon/granite/granite
Proposed by
Victor Martinez
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Cody Garver | ||||||||
Approved revision: | 602 | ||||||||
Merged at revision: | 659 | ||||||||
Proposed branch: | lp:~victored/granite/source-list-tweaks | ||||||||
Merge into: | lp:~elementary-pantheon/granite/granite | ||||||||
Diff against target: |
300 lines (+85/-44) 2 files modified
demo/GraniteDemo.vala (+14/-2) lib/Widgets/SourceList.vala (+71/-42) |
||||||||
To merge this branch: | bzr merge lp:~victored/granite/source-list-tweaks | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julien Spautz | Pending | ||
elementary Pantheon team | Pending | ||
Review via email: mp+196056@code.launchpad.net |
Commit message
[SourceList] [API] Allow every ExpandableItem to define its own sorting method.
The previous global sorting API has been deprecated but it's still supported, so sorting is done on a per-expandable-item basis whenever the global sort function is set to "null".
Fixes lp:1188694 and lp:1182400.
Description of the change
[SourceList] [API] Allow every ExpandableItem to define its own sorting method.
The previous global sorting API has been deprecated but it's still supported, so sorting is done on a per-expandable-item basis whenever the global sort function is set to "null".
Fixes lp:1188694 and lp:1182400.
To post a comment you must log in.
Commit 600 looks good to me code-wise, and I confirm it fixes bug #1182400 using Julien's example in the bug report.