GNOME Bugzilla – Bug 338562
Add move to trash support to the iPod source
Last modified: 2006-04-16 19:52:15 UTC
The upcoming patch enables "move to trash" in the iPod source. Moving files to the trash will freeze the UI for a few seconds though.
Created attachment 63545 [details] [review] Add move to trash to the iPod source
Created attachment 63546 [details] [review] Patch against CVS HEAD The attached patch applies cleanly against CVS HEAD. The previous patch might apply on top of the patch for bug #338561 (though I haven't tested).
Looks good to me.
Created attachment 63630 [details] [review] Use a hash table to map a RhythmDBEntry to an Itdb_Track This is an alternative approach to what the patch from bug #337429 would let me do. Using a GHashTable is better than what is being done atm though.
I committed the last patch with a change: RhythmDBEntries are now removed from teh hash table when the file is moved to trash.