Merge lp:~nick-dedekind/unity8/indicator-messages.icon-fix into lp:unity8

Proposed by Nick Dedekind
Status: Merged
Approved by: MichaƂ Sawicz
Approved revision: 320
Merged at revision: 325
Proposed branch: lp:~nick-dedekind/unity8/indicator-messages.icon-fix
Merge into: lp:unity8
Diff against target: 31 lines (+1/-5)
1 file modified
Panel/Indicators/DefaultIndicatorWidget.qml (+1/-5)
To merge this branch: bzr merge lp:~nick-dedekind/unity8/indicator-messages.icon-fix
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Gerry Boland (community) Approve
Review via email: mp+185552@code.launchpad.net

Commit message

Fixed the removal of messaging widget due to incompatible action state.

Description of the change

Fixed the removal of messaging widget due to incompatible action state.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:320
http://jenkins.qa.ubuntu.com/job/unity8-ci/1008/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-saucy/3404
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-touch/933
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-saucy/1697
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-saucy-amd64-ci/32
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-saucy-armhf-ci/1009
        deb: http://jenkins.qa.ubuntu.com/job/unity8-saucy-armhf-ci/1009/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-saucy-i386-ci/1008
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-saucy-i386/3415
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-saucy-i386/3415/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-saucy/2880
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-saucy-armhf/935
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-saucy-armhf/935/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-maguro/781
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/791

Click here to trigger a rebuild:
http://s-jenkins:8080/job/unity8-ci/1008/rebuild

review: Approve (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Autolanding.
More details in the following jenkins job:
http://jenkins.qa.ubuntu.com/job/unity8-autolanding/443/
Executed test runs:
    SUCCESS: http://s-jenkins:8080/job/generic-cleanup-mbs/2219
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-saucy/3481
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-touch/1009
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-saucy/1715
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-saucy-amd64-autolanding/26
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-saucy-armhf-autolanding/444
        deb: http://jenkins.qa.ubuntu.com/job/unity8-saucy-armhf-autolanding/444/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-saucy-i386-autolanding/445
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-saucy-i386/3493
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-saucy-i386/3493/artifact/work/output/*zip*/output.zip
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-saucy/2947
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-saucy-armhf/1011
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-saucy-armhf/1011/artifact/work/output/*zip*/output.zip
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-maguro/848
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/860

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Panel/Indicators/DefaultIndicatorWidget.qml'
2--- Panel/Indicators/DefaultIndicatorWidget.qml 2013-09-09 14:34:15 +0000
3+++ Panel/Indicators/DefaultIndicatorWidget.qml 2013-09-13 17:25:13 +0000
4@@ -24,6 +24,7 @@
5 Indicators.IndicatorWidget {
6 id: indicatorWidget
7
8+ enabled:true
9 width: itemRow.width + units.gu(0.5)
10
11 property alias label: itemLabel.text
12@@ -63,19 +64,14 @@
13
14 onActionStateChanged: {
15 if (action == undefined || !action.valid) {
16- enabled = false;
17 return;
18 }
19
20 if (action.state == undefined) {
21- label = "";
22- iconSource = "";
23- enabled = false;
24 return;
25 }
26
27 label = action.state[Indicators.ActionState.Label];
28 iconSource = "image://theme/" + action.state[Indicators.ActionState.IconSource];
29- enabled = action.state[Indicators.ActionState.Visible];
30 }
31 }

Subscribers

People subscribed via source and target branches