Merge lp:~charlesk/ubuntu-system-settings/lp-1233628 into lp:ubuntu-system-settings

Proposed by Charles Kerr
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 449
Merged at revision: 450
Proposed branch: lp:~charlesk/ubuntu-system-settings/lp-1233628
Merge into: lp:ubuntu-system-settings
Diff against target: 29 lines (+2/-5)
2 files modified
debian/control (+1/-0)
plugins/battery/PageComponent.qml (+1/-5)
To merge this branch: bzr merge lp:~charlesk/ubuntu-system-settings/lp-1233628
Reviewer Review Type Date Requested Status
Sebastien Bacher (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+190468@code.launchpad.net

Commit message

In the battery plugin, use indicator-bluetooth's "bluetooth-supported" action state to know whether or not to show the bluetooth toggle

Description of the change

In the battery plugin, use indicator-bluetooth's "bluetooth-supported" action state to know whether or not to show the bluetooth toggle

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

FAILED: Continuous integration, rev:446
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~charlesk/ubuntu-system-settings/lp-1233628/+merge/190468/+edit-commit-message

http://jenkins.qa.ubuntu.com/job/ubuntu-system-settings-ci/465/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/ubuntu-system-settings-saucy-amd64-ci/465

Click here to trigger a rebuild:
http://10.97.0.26:8080/job/ubuntu-system-settings-ci/465/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Charles, I guess that action is new and that we should update the indicator-bluetooth depends to the version containing it then?

447. By Charles Kerr

add an indicator-bluetooth dependency rule to debian/control

448. By Charles Kerr

use >> instad of >

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
449. By Charles Kerr

if at first you don't succeed...

Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks, I'm comment approving but I'm going to wait on the indicator update to land to change the status, we don't want to block settings to be uploaded on indicators (settings are in universe and likely to land before indicators)

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Ok, the indicator update landed in saucy, the fix works as advertised on both desktop and touch, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2013-10-01 10:22:58 +0000
3+++ debian/control 2013-10-10 20:51:35 +0000
4@@ -34,6 +34,7 @@
5 bluez (>= 4.36),
6 gsettings-desktop-schemas,
7 gsettings-ubuntu-touch-schemas (>= 0.0.1+13.10.20130730),
8+ indicator-bluetooth (>> 0.0.6+13.10.20131010),
9 indicator-network (>= 0.5.0+13.10.20130918),
10 powerd | gnome-settings-daemon,
11 qmenumodel-qml,
12
13=== modified file 'plugins/battery/PageComponent.qml'
14--- plugins/battery/PageComponent.qml 2013-10-08 15:18:30 +0000
15+++ plugins/battery/PageComponent.qml 2013-10-10 20:51:35 +0000
16@@ -293,12 +293,8 @@
17 busName: "com.canonical.indicator.bluetooth"
18 objectPath: "/com/canonical/indicator/bluetooth"
19
20+ property bool visible: action("bluetooth-supported")
21 property variant enabled: action("bluetooth-enabled")
22- property variant actionVisible: action("root-phone")
23-
24- property bool visible:
25- actionVisible.state.visible === undefined ||
26- actionVisible.state.visible
27
28 Component.onCompleted: start()
29 }

Subscribers

People subscribed via source and target branches