[gcompris] No more make click event to loose in the followline activity.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris] No more make click event to loose in the followline activity.
- Date: Sun, 13 Dec 2009 22:33:00 +0000 (UTC)
commit 5ea3f663bafc4a8689b1387fd86978ca3d1ba61e
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sun Dec 13 23:31:19 2009 +0100
No more make click event to loose in the followline activity.
src/boards/python/followline.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/boards/python/followline.py b/src/boards/python/followline.py
index 86ba1f5..d779200 100644
--- a/src/boards/python/followline.py
+++ b/src/boards/python/followline.py
@@ -319,6 +319,9 @@ class Gcompris_followline:
return done
def loosing_item_event(self, widget, event=None):
+ if event.type == gtk.gdk.BUTTON_PRESS:
+ return False
+
if(self.state == "Started"):
self.loosing_count += 1
if(self.loosing_count % 10):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]