Jonathan, many thanks for the tip - yes that did the trick. cheers
David. On 26 September 2012 11:09, Jonathan Matthew <jonat...@d14n.org> wrote: > On Wed, Sep 26, 2012 at 7:04 PM, David Mohammed <davidmoham...@gmail.com> > wrote: > > Hi, > > this little code snippet entered into the v2.97 Rhythmbox python > console > > gives the errors below - is this a bug - or have I incorrectly created > the > > RBEntryView? > > >>>> from gi.repository import RB > >>>> db = shell.props.db > >>>> shell_player = shell.props.shell_player > >>>> entry_view = RB.EntryView().new(shell.props.db, > >>>> shell.props.shell_player, True,False) > > You're doing RB.EntryView() here, which is going to call the > constructor without setting any of the properties correctly. You > probably wanted to do RB.EntryView.new(args) instead. >
_______________________________________________ rhythmbox-devel mailing list rhythmbox-devel@gnome.org https://mail.gnome.org/mailman/listinfo/rhythmbox-devel