Merge lp:~charlesk/indicator-power/show-phone-menu-in-phone-greeter into lp:indicator-power/15.04

Proposed by Charles Kerr
Status: Merged
Approved by: Michael Terry
Approved revision: 274
Merged at revision: 273
Proposed branch: lp:~charlesk/indicator-power/show-phone-menu-in-phone-greeter
Merge into: lp:indicator-power/15.04
Diff against target: 12 lines (+1/-1)
1 file modified
data/com.canonical.indicator.power (+1/-1)
To merge this branch: bzr merge lp:~charlesk/indicator-power/show-phone-menu-in-phone-greeter
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Michael Terry Approve
Review via email: mp+243473@code.launchpad.net

Commit message

Show the phone menu in the phone greeter.

Description of the change

Description of the Change:

As the name says, use the phone menu in the phone's greeter.

Previously we were telling phone_greeter to use desktop_greeter's menu. That's a less useful pairing than the phone menu for three reasons:

1. desktop_greeter doesn't provide the brightness slider/settings, which is useful on a phone greeter

2. The desktop greeter lists the attached batteries/devices, which is not useful on a phone

3. The menuitems in that list have an x-canonical-type of com.canonical.indicator.basic, which is only used by indicator-power and only on desktop, so unity8 doesn't yet support it. This is the cause of the freezes discovered by mterry in https://code.launchpad.net/~mterry/unity8/greeter-profiles/+merge/237155

===

Checklist:

> Are there any related MPs required for this MP to build/function as expected? Please list.

No

> Is your branch in sync with latest trunk? (e.g. bzr pull lp:trunk -> no changes)

Yes

> Did the code build without warnings?

Yes

> Did the tests run successfully?

Yes

> Did you perform an exploratory manual test run of your code change and any related functionality?

Yes, krillin + ubuntu-devel r46

> Did you provide a link to this page https://wiki.ubuntu.com/Process/Merges/Checklists/indicator-power

Yes

To post a comment you must log in.
274. By Charles Kerr

d'oh

Revision history for this message
Michael Terry (mterry) wrote :

Works for me!

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/com.canonical.indicator.power'
2--- data/com.canonical.indicator.power 2014-10-06 16:56:02 +0000
3+++ data/com.canonical.indicator.power 2014-12-02 23:14:30 +0000
4@@ -17,7 +17,7 @@
5 ObjectPath=/com/canonical/indicator/power/desktop_greeter
6
7 [phone_greeter]
8-ObjectPath=/com/canonical/indicator/power/desktop_greeter
9+ObjectPath=/com/canonical/indicator/power/phone
10 Position=25
11
12 [ubiquity]

Subscribers

People subscribed via source and target branches