[gcompris-devel] Followline activity on a TabletPC

Bruno Coudoin bruno.coudoin at free.fr
Sat Jan 9 13:22:15 UTC 2010


Le jeudi 07 janvier 2010 à 21:51 +0100, Ronny Standtke a écrit :
> Hi Bruno
> 
> First of all: Happy 2010 and congratulations to GCompris 9!
> 
> > I see, what you can do is edit the file with:
> > sudo gedit /usr/share/gcompris/python/followline.py
> > 
> > Find the method:
> > def loosing_item_event(self, widget, event=None):
> > 
> > And change it so that it looks like:
> > def loosing_item_event(self, widget, event=None):
> >     if event.type == gtk.gdk.BUTTON_PRESS:
> >       return False
> > 
> > 
> > Rerun GCompris and let us know if it fixes the issue.
> 
> Unfortunately, this change does not fix the issue. You can verify the problem 
> by clicking and holding the left mouse button when the activity starts. This 
> way the activity does not react to any mouse movement at all. It looks like no 
> mouse movement events reach the activity when the mouse button is pressed.

Hum, i get lost. Yes my patch is totally wrong, forgive me for that.

I made a new fix, please grab the whole followline.py file from git and
replace your own.

Let me know whether it work or not.

Bruno.


-- 
Bruno Coudoin
http://gcompris.net  Free educational software for kids
http://toulibre.org  Logiciel Libre à Toulouse
http://april.org     Promouvoir et défendre le Logiciel Libre





More information about the Gcompris-devel mailing list