[Sugar-devel] [PATCH sugar-toolkit-gtk3] Do the preview in the activity using cairo intead of GdkPixbufa -v2

Gonzalo Odiard godiard at sugarlabs.org
Mon Feb 13 15:03:07 EST 2012


Yes, or source_x, source_y, because will use the value of alloc
only if inot self.canvas.get_has_window()
Feel free to change it.

Gonzalo

2012/2/13 Manuel Quiñones <manuq at laptop.org>

> El día 10 de febrero de 2012 16:39,  <godiard at sugarlabs.org> escribió:
> > +        window = self.canvas.get_window()
> >
> > -        preview_data = []
> > +        x, y = 0, 0
>
> Maybe change x, y to alloc_x, alloc_y?  Pylint shows an error because
> of short variable names.
>
> --
> .. manuq ..
>



-- 
Gonzalo Odiard
SugarLabs Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120213/77dc2bc3/attachment.html>


More information about the Sugar-devel mailing list