Merge lp://staging/~albaguirre/indicator-power/use-new-brightness-dbus-interface into lp://staging/indicator-power/14.10

Proposed by Alberto Aguirre
Status: Merged
Approved by: Lars Karlitski
Approved revision: 252
Merged at revision: 247
Proposed branch: lp://staging/~albaguirre/indicator-power/use-new-brightness-dbus-interface
Merge into: lp://staging/indicator-power/14.10
Diff against target: 334 lines (+71/-50)
6 files modified
debian/control (+2/-0)
m4/gcov.m4 (+1/-1)
src/Makefile.am (+2/-2)
src/ib-brightness-uscreen-control.c (+41/-22)
src/ib-brightness-uscreen-control.h (+11/-11)
src/service.c (+14/-14)
To merge this branch: bzr merge lp://staging/~albaguirre/indicator-power/use-new-brightness-dbus-interface
Reviewer Review Type Date Requested Status
Lars Karlitski (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Iain Lane (community) Approve
Review via email: mp+223339@code.staging.launchpad.net

Commit message

Changes to address setBrightness interface moving from powerd to unity-system-compositor

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Iain Lane (laney) wrote :

Cheers. Since you asked me to review I've taken a look, but Charles I think usually takes care of i-power. One inline comment too.

The main problem is that you need to rename the 'powerd' references everywhere since that name is now inaccurate except for getBrightnessParams.

What provides this service? Please either add a dependency or (maybe this is a good idea anyway) keep the fallback to powerd if nothing has the new name.

review: Needs Fixing
Revision history for this message
Charles Kerr (charlesk) wrote :

alberto, laney, IMO we should remove the brightness code from indicator-power altogether. IMO it doesn't make sense for i-power to maintain a feature that it's not using.

Revision history for this message
Charles Kerr (charlesk) wrote :

In the 50 minutes since my last comment, it looks like Design has decided to restore the slider to indicator-power after all -- this MR brought the discussion to a head. :)

After this MR goes through as an interim step, I'll revert the previous code that disabled the slider.

248. By Alberto Aguirre

Remove references to powerd since the brightness interface is now provided by Unity.Screen

249. By Alberto Aguirre

Remove powerd reference in message

250. By Alberto Aguirre

Add powerd and unity-system-compositor to Depends

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
251. By Alberto Aguirre

Add 1.11 as allowed version for lcov

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

Cheers. It looks okay to me now (haven't tested though).

Just one thing. Could you version the u-s-c dependency to (>= the-one-which-introduced-this-interface)?

review: Approve
252. By Alberto Aguirre

Specify required unity-system-compositor version

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

I would have preferred to rename the functions in a backend-agnostic way, but I won't block on that.

Thanks for the patch!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches