Merge lp:~saviq/unity8/fix-pageheader-colours into lp:unity8

Proposed by Michał Sawicz
Status: Merged
Approved by: Andrea Cimitan
Approved revision: 1114
Merged at revision: 1125
Proposed branch: lp:~saviq/unity8/fix-pageheader-colours
Merge into: lp:unity8
Diff against target: 23 lines (+2/-1)
1 file modified
qml/Components/PageHeader.qml (+2/-1)
To merge this branch: bzr merge lp:~saviq/unity8/fix-pageheader-colours
Reviewer Review Type Date Requested Status
Andrea Cimitan (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Tim Peeters (community) Approve
Review via email: mp+229698@code.launchpad.net

Commit message

Use the correct API in PageHeader.

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. Both tryDash and the actual dash work fine now.

 * Did you make sure that your branch does not contain spurious tags?
Yes.

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A

 * If you changed the UI, has there been a design review?
N/A

To post a comment you must log in.
Revision history for this message
Tim Peeters (tpeeters) wrote :

thanks, looks good.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
 * Did CI run pass? If not, please explain why.
Yes

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Components/PageHeader.qml'
2--- qml/Components/PageHeader.qml 2014-07-31 16:49:50 +0000
3+++ qml/Components/PageHeader.qml 2014-08-05 21:49:51 +0000
4@@ -169,6 +169,7 @@
5 property var styledItem: searchHeader
6 property string title
7 property var config: PageHeadConfiguration {
8+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
9 backAction: Action {
10 iconName: "back"
11 onTriggered: {
12@@ -247,10 +248,10 @@
13 contentHeight: height
14 opacity: headerContainer.clip || !headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
15 separatorSource: ""
16- textColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
17 property var styledItem: header
18 property string title: root.title
19 property var config: PageHeadConfiguration {
20+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
21 backAction: Action {
22 iconName: "back"
23 visible: root.showBackButton

Subscribers

People subscribed via source and target branches