Merge lp:~dobey/rhythmbox-ubuntuone/url-handler into lp:rhythmbox-ubuntuone
Proposed by
dobey
on 2012-03-06
| Status: | Merged |
|---|---|
| Approved by: | dobey on 2012-03-06 |
| Approved revision: | 111 |
| Merged at revision: | 111 |
| Proposed branch: | lp:~dobey/rhythmbox-ubuntuone/url-handler |
| Merge into: | lp:rhythmbox-ubuntuone |
| Diff against target: |
80 lines (+22/-6) 5 files modified
MANIFEST.in (+1/-0) po/POTFILES.in (+1/-0) rhythmbox-ubuntuone.desktop.in (+12/-0) setup.cfg (+1/-1) ubuntuone/MusicStoreWidget.py (+7/-5) |
| To merge this branch: | bzr merge lp:~dobey/rhythmbox-ubuntuone/url-handler |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Natalia Bidart | 2012-03-06 | Approve on 2012-03-06 | |
| Eric Casteleijn (community) | Approve on 2012-03-06 | ||
|
Review via email:
|
|||
Commit Message
Add a .desktop file for registering rhythmbox as the u1ms:// url handler when rhythmbox-ubuntuone is installed
Fix the url handling API inside the plug-in to align with new Rhythmbox API
Description of the Change
This depends on https:/
To post a comment you must log in.
| dobey (dobey) wrote : | # |
Natlia, I don't think so, as passing in destroy_data nd callback_data arguments without a callback makes no sense.
From the documentation:
* @callback: a callback function to call when complete
* @data: data to pass to the callback
* @destroy_data: function to call to destroy the callback data
review:
Approve

Shouldn't this be at the same level than the "if callback is not None" guard?
76 + if destroy_data is not None: data(callback_ data)
77 + destroy_