GNOME Bugzilla – Bug 707525
Last.fm radio stations can't be properly deleted
Last modified: 2014-03-08 09:43:52 UTC
Pressing the remove button deletes the station, but as soon as you restart rhythmbox it's back. From what I can see rb_display_page_delete_thyself is being called instead of rb_display_page_remove? so the radio source doesn't have a chance to save the fact that it's been deleted. I'm not quite sure why playlist sources are able to delete themselves just fine without this change but last.fm ones can't. Maybe I'm misunderstanding the situation, I haven't dug that deep. But this seems to fix the problem and not cause any adverse effects.
Created attachment 254138 [details] [review] display-page-tree: remove page on remove action Instead of calling rb_display_page_delete_thyself, call rb_display_page_remove. This allows the page to perform any required logic before it deletes itself. Audioscrobbler radio sources will now remain removed after application restart, as they are now able to save the updated station list upon removal.
Pushed as commit 14f0637; thanks, and sorry for leaving this sitting around for so long.