Re: [Rhythmbox-devel] Errors deriving from rb.Source directly instead of rb.BrowserSource
- From: Jonathan Matthew <jonathan d14n org>
- To: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] Errors deriving from rb.Source directly instead of rb.BrowserSource
- Date: Thu, 25 Jun 2009 19:29:30 +1000
On Fri, Jun 19, 2009 at 05:36:13PM +0100, Jamie Nicol wrote:
> I am trying to create a source which is neither a browser source or
> playlist so I am deriving it directly from rb.Source. But doing so gives
> me errors whenever the source is deselected (ie it was highlighted but
> then another source such as the library was selected instead)
>
> Is there anything special I need to do when deriving from rb.Source
> directly to stop these errors?
This doesn't happen much, so I'm not sure exactly what needs to be done, but
your source class at least needs to create a rb.EntryView widget, attach it
to a query model, and provide an impl_get_entry_view method that returns it.
If you can read C code, the missing files and import error sources derive
directly from the RBSource base class, so they might provide useful examples.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]