Merge lp:~dandrader/unity8/refactorWindowDecoration into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Michael Zanetti on 2016-11-11 |
| Approved revision: | 2676 |
| Merged at revision: | 2713 |
| Proposed branch: | lp:~dandrader/unity8/refactorWindowDecoration |
| Merge into: | lp:unity8 |
| Diff against target: |
75 lines (+20/-9) 3 files modified
qml/Stage/DecoratedWindow.qml (+1/-1) qml/Stage/Stage.qml (+15/-3) qml/Stage/WindowDecoration.qml (+4/-5) |
| To merge this branch: | bzr merge lp:~dandrader/unity8/refactorWindowDecoration |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Zanetti (community) | 2016-11-10 | Approve on 2016-11-11 | |
| Unity8 CI Bot | continuous-integration | Approve on 2016-11-10 | |
|
Review via email:
|
|||
Commit Message
There's no need for WindowDecoration to access the appDelegate
It damages modularity.
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes, in "make tryDesktopStage".
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Not applicable
* If you changed the UI, has there been a design review?
Not applicable
- 2676. By Daniel d'Andrada on 2016-11-10
-
Make it an alias
| Daniel d'Andrada (dandrader) wrote : | # |
> would it make sense to have closeButtonVisible to be just an alias instead of
> its own property?
>
> apart from that, definitely +1 from here.
That works as well. Done.
| Michael Zanetti (mzanetti) wrote : | # |
tested. works fine. +1 on the code.
waiting for CI before top-approving
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2675
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2676
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:2676
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Michael Zanetti (mzanetti) wrote : | # |
actually it even passed

would it make sense to have closeButtonVisible to be just an alias instead of its own property?
apart from that, definitely +1 from here.