Merge lp://staging/~ted/indicator-sound/greeter-control into lp://staging/indicator-sound/14.04

Proposed by Ted Gould
Status: Merged
Approved by: Charles Kerr
Approved revision: 463
Merged at revision: 434
Proposed branch: lp://staging/~ted/indicator-sound/greeter-control
Merge into: lp://staging/indicator-sound/14.04
Prerequisite: lp://staging/~ted/indicator-sound/account-service-player
Diff against target: 253 lines (+142/-3)
5 files modified
debian/control (+2/-0)
src/CMakeLists.txt (+5/-0)
src/accounts-service-user.vala (+42/-0)
src/greeter-broadcast.vala (+34/-0)
src/media-player-user.vala (+59/-3)
To merge this branch: bzr merge lp://staging/~ted/indicator-sound/greeter-control
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+209338@code.staging.launchpad.net

Commit message

Allow the phone greeter player to control the running player in the session.

Description of the change

Puts both the sender and the listener of the greeter broadcast into both sides of the indicator-sound world. One emits the event through the reflector and the other receives it. Needs this branch to work:

https://code.launchpad.net/~ted/unity-greeter-session-broadcast/sound-control/+merge/208894

To post a comment you must log in.
459. By Ted Gould

Try to get session broadcast if we can

460. By Ted Gould

Grab accounts service too

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)
Revision history for this message
Charles Kerr (charlesk) wrote :

 * Is Recommends sufficient for accountsservice? Surely it's a Depends now...?

 * In GreeterBroadcast, RequestApplicationStart(), RequestHomeShown(), StartApplication(),
   ShowHome() appear to be unused. Is there another branch waiting to be stacked on top
   of this one? Otherwise, these unused methods/signals should be removed

 * In accounts-service-user, probably ought to Warn() if username != g_get_user_name()
   instead of returning silently... if that argument's wrong, something's gone wrong
   in MediaPlayerListGreeter

461. By Ted Gould

Don't build proxy for unused functions

Revision history for this message
Ted Gould (ted) wrote :

 * Is Recommends sufficient for accountsservice? Surely it's a Depends now...?

I left it as a recommends just because we wouldn't *die* without it. I'd go either way, I figured the only thing we *needed* was the lib which gets pulled in by linking.

* In GreeterBroadcast, RequestApplicationStart(), RequestHomeShown(), StartApplication(),
   ShowHome() appear to be unused. Is there another branch waiting to be stacked on top
   of this one? Otherwise, these unused methods/signals should be removed

Fixed. r461. I commented them in case someone wanted to steal this Vala code in the future.

 * In accounts-service-user, probably ought to Warn() if username != g_get_user_name()
   instead of returning silently... if that argument's wrong, something's gone wrong
   in MediaPlayerListGreeter

Those are the signals that come off the system bus, so those events can be targeted at another user session that is also running at the same time. So it can be normal that we'd get ones that aren't for us.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
462. By Ted Gould

Sync to latest account-service-player

Revision history for this message
Ted Gould (ted) wrote :

Failing because it needs a newer dbus-test-runner, updated the dep.

463. By Ted Gould

Merge trunk

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ted Gould (ted) wrote :

Jenkins failing because it needs to get the dbus-test-runner branch to land at the same time.

Revision history for this message
Charles Kerr (charlesk) :
review: Approve
464. By Ted Gould

Update to trunk and export updates

465. By Ted Gould

Updating to latest export

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