Merge lp:~ken-vandine/ubuntu-system-settings/lp1413369 into lp:ubuntu-system-settings

Proposed by Ken VanDine on 2015-01-21
Status: Merged
Approved by: Sebastien Bacher on 2015-01-22
Approved revision: 1265
Merged at revision: 1265
Proposed branch: lp:~ken-vandine/ubuntu-system-settings/lp1413369
Merge into: lp:ubuntu-system-settings
Diff against target: 15 lines (+5/-0)
1 file modified
plugins/system-update/PageComponent.qml (+5/-0)
To merge this branch: bzr merge lp:~ken-vandine/ubuntu-system-settings/lp1413369
Reviewer Review Type Date Requested Status
Sebastien Bacher (community) 2015-01-21 Approve on 2015-01-22
PS Jenkins bot continuous-integration Needs Fixing on 2015-01-21
Review via email: mp+247219@code.launchpad.net

Commit Message

[system-updates] Don't show an empty list after updates are completed

Description of the Change

[system-updates] Don't show an empty list after updates are completed

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/system-update/PageComponent.qml'
2--- plugins/system-update/PageComponent.qml 2014-10-24 20:04:30 +0000
3+++ plugins/system-update/PageComponent.qml 2015-01-21 20:42:11 +0000
4@@ -48,6 +48,11 @@
5 property var notificationAction;
6 property string errorDialogText: ""
7
8+ onUpdatesAvailableChanged: {
9+ if (updatesAvailable < 1 && root.state != "SEARCHING")
10+ root.state = "NOUPDATES";
11+ }
12+
13 QDBusActionGroup {
14 id: indicatorPower
15 busType: 1

Subscribers

People subscribed via source and target branches