-- On Thu, 6/1/11, Jonathan Matthew <[email protected]> wrote:
> From: Jonathan Matthew <[email protected]>
<snip>
> 
> You can work around it in this case with something like
> this:
> 
>     if hasattr(self.db, 'entry_register_type'):
>         self.entry_type =
> self.db.entry_register_type("GutenbergEntryType")
>     else:
>         self.entry_type =
> GutenbergEntryType()
>        
> self.db.register_entry_type(self.entry_type)
> 
> if you want to maintain compatibility with older versions
> of rhythmbox.
> 

This works a charm - thanks Jonathan!

r,


      
_______________________________________________
rhythmbox-devel mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel

Reply via email to