[sugar] Native code activity and DBus

Marco Pesenti Gritti mpgritti
Sat Aug 11 18:08:26 EDT 2007


See how sugar/sugar/activity/activity.py does it (realize signal).

Marco

On 8/11/07, Keith R. Fieldhouse <olpc at rexmere.com> wrote:
> Bert Freudenberg wrote:
> >
> > Make sure you set the props before opening the window - Sugar
> > unfortunately does not track property changes. Neither does it track
> > service creation, but that's a different issue.
> >
> Yep, that's the problem.  I modified homemodel.py as suggested in the
> other thread and it's clear that the properties aren't  set yet.  The
> problem is that when I try to set the properties of the GDK window
> before show(), I get a runtime error becuase the window is invalid.
> Sigh.  It is a toplevel window so I'm pretty sure there is a real window
> there, I just have to figure out how to get it.
>
> Thanks very much for your help,
>
> Keith
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>



More information about the Sugar-devel mailing list