On Wed, Aug 31, 2011 at 7:00 PM, Manuel Quiñones <[email protected]> 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 <[email protected]>
> ---
>  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
> --
> 1.7.4.4
>
> Thanks manu for looking into this.

pushed as:

http://git.sugarlabs.org/maze/mainline/commit/a79312b22f5701fd804b711157ff3ac0bcfb0515

Just tested this in an xo 1.75, will be in next release.
_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to