From a83e9db05d4fbb7474bd93a0d1269ff35309c5e4 Mon Sep 17 00:00:00 2001 From: Mike Major Date: Sun, 20 Sep 2009 17:43:30 +0000 Subject: due to usser feedback: move the play and next buttons closer to the center; remove focus from the mult choice buttons. Added user nick name to output. --- diff --git a/data.py b/data.py index ba21b42..2bd91e9 100644 --- a/data.py +++ b/data.py @@ -3,7 +3,7 @@ This file is part of HopAround. - HopAround is free software: you can redistribute it and/or modify + Hop-A-Round is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. @@ -14,7 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with HopAround. If not, see . + along with Hop-A-Round. If not, see . """ import random diff --git a/hoparound.py b/hoparound.py index 357ea0e..56d87a3 100644 --- a/hoparound.py +++ b/hoparound.py @@ -3,7 +3,7 @@ This file is part of HopAround. - HopAround is free software: you can redistribute it and/or modify + Hop-A-Round is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. @@ -14,7 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with Foobar. If not, see . + along with Hop-A-Round. If not, see . """ from sugar.activity import activity @@ -48,9 +48,9 @@ class HopaRoundActivity(activity.Activity): def setup(self, data, ui): data.gen_random() - ui.set_rounding_phrase(self.data) - ui.set_choices(self.data.random_number, self.data.mult) - ui.set_tab(self.data) + ui.set_rounding_phrase(data) + ui.set_choices(data.random_number, data.mult) + ui.set_tab(data) def submit_answer(self, widget, answer): try: # for int answer because of entry field diff --git a/view.py b/view.py index 264e1da..0b9d62f 100644 --- a/view.py +++ b/view.py @@ -3,7 +3,7 @@ This file is part of HopAround. - HopAround is free software: you can redistribute it and/or modify + Hop-A-Round is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. @@ -14,7 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with HopAround. If not, see . + along with Hop-A-Round. If not, see . """ import gtk -- cgit v0.9.1