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
=== modified file 'debian/control'
--- debian/control 2013-10-01 10:22:58 +0000
+++ debian/control 2013-10-10 20:51:35 +0000
@@ -34,6 +34,7 @@
34 bluez (>= 4.36),34 bluez (>= 4.36),
35 gsettings-desktop-schemas,35 gsettings-desktop-schemas,
36 gsettings-ubuntu-touch-schemas (>= 0.0.1+13.10.20130730),36 gsettings-ubuntu-touch-schemas (>= 0.0.1+13.10.20130730),
37 indicator-bluetooth (>> 0.0.6+13.10.20131010),
37 indicator-network (>= 0.5.0+13.10.20130918),38 indicator-network (>= 0.5.0+13.10.20130918),
38 powerd | gnome-settings-daemon,39 powerd | gnome-settings-daemon,
39 qmenumodel-qml,40 qmenumodel-qml,
4041
=== modified file 'plugins/battery/PageComponent.qml'
--- plugins/battery/PageComponent.qml 2013-10-08 15:18:30 +0000
+++ plugins/battery/PageComponent.qml 2013-10-10 20:51:35 +0000
@@ -293,12 +293,8 @@
293 busName: "com.canonical.indicator.bluetooth"293 busName: "com.canonical.indicator.bluetooth"
294 objectPath: "/com/canonical/indicator/bluetooth"294 objectPath: "/com/canonical/indicator/bluetooth"
295295
296 property bool visible: action("bluetooth-supported")
296 property variant enabled: action("bluetooth-enabled")297 property variant enabled: action("bluetooth-enabled")
297 property variant actionVisible: action("root-phone")
298
299 property bool visible:
300 actionVisible.state.visible === undefined ||
301 actionVisible.state.visible
302298
303 Component.onCompleted: start()299 Component.onCompleted: start()
304 }300 }

Subscribers

People subscribed via source and target branches