[Sugar-devel] [PATCH] Maze: fix to make activity start again
rafael at activitycentral.com
Thu Sep 1 17:07:22 EDT 2011
On Wed, Aug 31, 2011 at 7:00 PM, Manuel Quiñones <manuq at laptop.org> wrote:
> The game_name attribute of PyGameActivity seems to be changed
> accidentally from 'game' to 'maze'. As the docstring of
> PyGameActivity class states, game_name needs to match the name of a
> module that contains the game loop in a function called main.
> TIP: please test at least if the activity start before commit :)
> Signed-off-by: Manuel Quiñones <manuq at laptop.org>
> activity.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> diff --git a/activity.py b/activity.py
> index dbf6940..f21efdd 100755
> --- a/activity.py
> +++ b/activity.py
> @@ -4,6 +4,6 @@ from gettext import gettext as _
> class MazeActivity(olpcgames.PyGameActivity):
> - game_name = 'maze'
> + game_name = 'game'
> game_title = _('Maze')
> game_size = None # let olpcgames pick a nice size for us
> Thanks manu for looking into this.
Just tested this in an xo 1.75, will be in next release.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel