Re: [Rhythmbox-devel] "Is this an RBEntryView bug?"
- From: Jonathan Matthew <jonathan d14n org>
- To: David Mohammed <davidmohammed gmail com>
- Cc: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] "Is this an RBEntryView bug?"
- Date: Wed, 26 Sep 2012 20:09:23 +1000
On Wed, Sep 26, 2012 at 7:04 PM, David Mohammed <davidmohammed 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]