Merge lp:~osomon/unity-2d/move-properties-to-launcheritem into lp:unity-2d/3.0
Proposed by
Olivier Tilloy
Status: | Merged |
---|---|
Approved by: | Florian Boucault |
Approved revision: | 592 |
Merged at revision: | 592 |
Proposed branch: | lp:~osomon/unity-2d/move-properties-to-launcheritem |
Merge into: | lp:unity-2d/3.0 |
Diff against target: |
164 lines (+71/-25) 4 files modified
launcher/LauncherList.qml (+6/-7) libunity-2d-private/Unity2d/launcherapplication.h (+7/-18) libunity-2d-private/Unity2d/launcheritem.cpp (+37/-0) libunity-2d-private/Unity2d/launcheritem.h (+21/-0) |
To merge this branch: | bzr merge lp:~osomon/unity-2d/move-properties-to-launcheritem |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Florian Boucault (community) | Needs Fixing | ||
Review via email: mp+64371@code.launchpad.net |
Commit message
[launcher] Moved the progress, counter and emblem properties (and their related visibility properties) to the base LauncherItem class.
The default implementation doesn’t show them, it is meant to be overridden in subclasses.
Description of the change
Note: on top of the refactoring advertised in the commit message, this MR also fixes a bug in the visibility of emblems: in LauncherList.qml, the value of the 'emblem' property was never set correctly, because the condition on noOverlays was the opposite of what is was meant to be.
To post a comment you must log in.
Emblems have been deprecated at a design level.