Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/gcompris
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2009-01-30 22:24:53 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2009-01-30 22:24:53 (GMT)
commitdfd4f40aacc7102261490d0a2e7975b77f01fd9c (patch)
treef6f81cbc02ae9c2836e52924a643cd6cf4e8dd14 /src/gcompris
parentbfad4f36c3177697c4280648703e7982249e9f0d (diff)
Vitali Perchonok is com gmail from vitali.pe
Allow only left button on HOME. Using left button only should prevent the menu from freezing when pressing two or more buttons at the same time (Not sure what the bug was but it does not hurt). svn path=/trunk/; revision=3705
Diffstat (limited to 'src/gcompris')
-rw-r--r--src/gcompris/bar.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gcompris/bar.c b/src/gcompris/bar.c
index d407b85..41f1556 100644
--- a/src/gcompris/bar.c
+++ b/src/gcompris/bar.c
@@ -564,7 +564,11 @@ item_event_bar(GnomeCanvasItem *item, GdkEvent *event, gchar *data)
}
}
}
- else if(!strcmp((char *)data, "back"))
+ /*
+ using left button only should prevent the menu from freezing
+ when pressing two or more buttons at the same time
+ */
+ else if( !strcmp((char *)data, "back") && event->button.button == 1 )
{
gc_bar_hide (TRUE);
gc_board_stop();