Merge lp:~artem-anufrij/granite/granite-modebutton-clear-selected into lp:~elementary-pantheon/granite/granite
Proposed by
Artem Anufrij
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~artem-anufrij/granite/granite-modebutton-clear-selected | ||||
Merge into: | lp:~elementary-pantheon/granite/granite | ||||
Diff against target: |
51 lines (+22/-1) 2 files modified
demo/GraniteDemo.vala (+7/-1) lib/Widgets/ModeButton.vala (+15/-0) |
||||
To merge this branch: | bzr merge lp:~artem-anufrij/granite/granite-modebutton-clear-selected | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
xapantu (community) | Needs Fixing | ||
Review via email: mp+270432@code.launchpad.net |
This proposal has been superseded by a proposal from 2015-10-05.
Commit message
'selected = -1' clear selected items in ModeButton
Description of the change
all selected items will be unselected
To post a comment you must log in.
Could a foreach be used in clear_selected ()? It does not look very clean with the manual iteration (and it is slower, even if it is not noticeable on a modebutton with less than a thousand choices…).