Re: "Is this an RBEntryView bug?"

David Mohammed <[email protected]>
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <CAMwPnjfmEVssoP1SW3bUm4+1WfhsGwZ3rnG8XKy9UtrW4srNZA@mail.gmail.com>
Jonathan,
  many thanks for the tip - yes that did the trick.

cheers

David.

On 26 September 2012 11:09, Jonathan Matthew <[email protected]> wrote:

> On Wed, Sep 26, 2012 at 7:04 PM, David Mohammed <[email protected]>
> 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
[email protected]
https://mail.gnome.org/mailman/listinfo/rhythmbox-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.