[Sugar-devel] Activity title update

James Cameron quozl at laptop.org
Sun Jul 18 20:57:59 EDT 2010


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.

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


More information about the Sugar-devel mailing list