[Sugar-devel] Activity title update

Gonzalo Odiard godiard at gmail.com
Sun Jul 18 21:17:42 EDT 2010


On Sun, Jul 18, 2010 at 9:57 PM, James Cameron <quozl at laptop.org> wrote:

> On Sun, Jul 18, 2010 at 05:41:08PM -0300, Gonzalo Odiard wrote:
> > Can this resolve the problem?
> >
> > [root at aronax graphics]# diff -u toolbutton.py.ori toolbutton.py
> > --- toolbutton.py.ori    2010-07-18 17:39:27.374544801 -0300
> > +++ toolbutton.py    2010-07-18 17:39:58.198297844 -0300
> > @@ -160,3 +160,5 @@
> >      def do_clicked(self):
> >          if self.palette:
> >              self.palette.popdown(True)
> > +        else:
> > +            gtk.ToolButton(self)
>
> Oh, you mean gtk.ToolButton.do_clicked(self) ?  If so, I see what you
> mean.  The code before your patch overrides do_clicked.
>
> yes!. I don' t know how this worked :)


> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Gonzalo Odiard
Responsable de Desarrollo
Sistemas Australes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100718/a51a5828/attachment.htm 


More information about the Sugar-devel mailing list