Re: [Rhythmbox-devel] Display the library browser in plugin

On dim, 2007-01-07 at 10:56 +1100, James "Doc" Livingston wrote:
> On Sat, 2007-01-06 at 23:28 +0100, Guillaume Desmottes wrote:
> > I'm writing a Python plugin and would like display the library browser
> > in my new source.
> > Could you tell me how to do that?
> The easiest way is to devive from RBBrowserSource instead of RBSource,
> as it does most of the work for you.
I do (as in the magnatune plugin) but the browser is not displayed by
default. I have to enabled it manually.

> Do the things in your source have their own EntryType, or is it just a
> view on existing ones (e.g. a subset of the library)? In the latter
> case, it'll be a bit more work.
I register my own entry type.


Guillaume Desmottes <cass skynet be>
Jabber <cassidy jabber belnet be>
GPG 1024D/711E31B1 | 1B5A 1BA8 11AA F0F1 2169  E28A AC55 8671 711E 31B1

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]