Merge lp://qastaging/~stolowski/unity-lens-music/unity-lens-music.error-handling into lp://qastaging/unity-lens-music
Proposed by
Paweł Stołowski
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michal Hruby | ||||
Approved revision: | 106 | ||||
Merged at revision: | 100 | ||||
Proposed branch: | lp://qastaging/~stolowski/unity-lens-music/unity-lens-music.error-handling | ||||
Merge into: | lp://qastaging/unity-lens-music | ||||
Prerequisite: | lp://qastaging/~stolowski/unity-lens-music/unity-lens-music.preview-close | ||||
Diff against target: |
374 lines (+161/-62) 5 files modified
src/musicstore-scope.vala (+36/-21) src/player.vala (+34/-6) src/preview-player-client.vala (+37/-13) src/rhythmbox-scope.vala (+37/-22) tests/manual/previews-musicstore.txt (+17/-0) |
||||
To merge this branch: | bzr merge lp://qastaging/~stolowski/unity-lens-music/unity-lens-music.error-handling | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michal Hruby (community) | Approve | ||
Review via email:
|
Commit message
Improved error handling affecting music preview player.
Description of the change
Improved error handling affecting music preview player.
To post a comment you must log in.
123 + Bus.watch_name (BusType.SESSION, PREVIEW_ PLAYER_ DBUS_NAME, BusNameWatcherF lags.NONE, null, on_player_ dbus_name_ vanished) ;
Please don't use watch_name, it's pretty expensive, instead you can just connect to property changes of g-name-owner on the proxy instance - it will go from non-null to null when the proxy disconnects.
Otherwise looks good, we'll probably want to set some error state in the future, but this looks good for now.