Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/balloongame.py
diff options
context:
space:
mode:
Diffstat (limited to 'balloongame.py')
-rw-r--r--balloongame.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/balloongame.py b/balloongame.py
index 14871ea..5c36a15 100644
--- a/balloongame.py
+++ b/balloongame.py
@@ -19,6 +19,8 @@ from gettext import gettext as _
import gobject, pygtk, gtk, pango
+import medalscreen
+
BALLOON_COLORS = [
(65535, 0, 0),
(0, 0, 65535),
@@ -119,6 +121,10 @@ class BalloonGame(gtk.VBox):
if key_name == 'Return':
self.activity.pop_screen()
+ # Show the new medal if there was one.
+ if self.medal:
+ self.activity.push_screen(medalscreen.MedalScreen(self.medal, self.activity))
+
else:
for b in self.balloons:
if b.word[0] == key: