[Sugar-devel] patch #1902: OLPC- Paint Activity – Under tools tab, pencil size functionality is not working.
Tomeu Vizoso
tomeu at tomeuvizoso.net
Tue May 18 06:24:15 EDT 2010
Do we have a maintainer for Paint?
Regards,
Tomeu
On Tue, May 18, 2010 at 03:48, Gonzalo Odiard <godiard at gmail.com> wrote:
> From 9595fdfcd0c1b26eab566223ecc1ede348c084e9 Mon Sep 17 00:00:00 2001
> From: Gonzalo Odiard <gonzalo at aronax.(none)>
> Date: Mon, 17 May 2010 22:47:47 -0300
> Subject: [PATCH] fix #1902
>
> ---
> Area.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Area.py b/Area.py
> index 1e5248d..613e66e 100644
> --- a/Area.py
> +++ b/Area.py
> @@ -350,7 +350,7 @@ class Area(gtk.DrawingArea):
>
> if state & gtk.gdk.BUTTON1_MASK and self.pixmap != None:
> if self.tool['name'] == 'pencil':
> - self.d.brush(widget, coords, self.last, 2, 'circle')
> + self.d.brush(widget, coords, self.last, self.line_size,
> 'circle')
> self.last = coords
> elif self.tool['name'] == 'eraser':
> self.d.eraser(widget, coords, self.last, self.line_size,
> self.tool['line shape'])
> --
> 1.6.6.1
>
>
> --
> Gonzalo Odiard
> SugarLabs Argentina
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
More information about the Sugar-devel
mailing list