From: Jeremy Thurgood Date: Fri, 16 May 2014 19:41:10 +0000 (+0200) Subject: Clean up menu slightly. X-Git-Tag: 0.1~195 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=174122f644dd14df2131f92f09512705c8cf88ed;hp=946770b7206ae802a7909823faf950b4697de962;p=naja.git Clean up menu slightly. --- diff --git a/naja/scenes/menu.py b/naja/scenes/menu.py index a94a0ed..a10d9b3 100644 --- a/naja/scenes/menu.py +++ b/naja/scenes/menu.py @@ -51,9 +51,8 @@ class MenuScene(Scene): y_offset += 50 howto = TextWidget( - (100, y_offset), 'How To Play', fontsize=32, colour='white') - howto.add_callback( - 'click', lambda event: SceneChangeEvent.post(HowtoScene)) + (100, y_offset), 'How To Play', colour=PALETTE.WHITE) + howto.add_callback('click', self.scene_callback(HowtoScene)) selector.add(howto) y_offset += 50