GNOME Bugzilla – Bug 335185
Split RBLibrarySource in two
Last modified: 2006-03-31 03:48:53 UTC
RBLibrarySource currently contains the "entry type browsing" bits and the actual Library bits. It would be good to split the former off into it's own class that other classes can derive from it without having the Library-specific stuff.
Created attachment 61588 [details] [review] patch Splits a lot of the RBLibrarySource code into RBBrowsableTypeSource, which culd probablt do with a better name.
Compiles fine. Mostly looks good. However by default it appears that the CD source has a browser.
Any chance this could be committed soon? Seems to be working (with the exception of having a browser for the CD source). Also would seem to be necessary before bug #322268 being committed and is useful in it's own right because many of the columns in DAAP and other sources shouldn't be there in any case (e.g. rating).
Created attachment 62264 [details] [review] updated patch Updated to cvs, and with cd browser issue fixed. I'm fairly sure I've got all the RBLibrarySource changes put into the correct place. I wouldn't mind getting this committed if there are no problems, since keeping it updated with RBLibrarySource changes in cvs is annoying.
Works for me.
Looks OK to me. RBBrowsableTypeSource does need a better name, though - 'browsable' looks like a spelling mistake to me, and 'browseable' doesn't look any better. RBBrowserSource? RBSourceWithBrowser?
Committed to cvs, with the class renamed to RBBrowserSource.
Crash after updating from CVS: 0x00901638 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) bt
+ Trace 67359
Was a CVS conflict that I hadn't spotted. Closing. Sorry for the noise.