From 12da6a6a129ad5109c440f2ea56edf9c69979ef4 Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Mon, 17 Dec 2012 16:40:45 +0000 Subject: Removed old workaround for a pygame/olpcgame title text editing issue that was causing new issues in Sugar 0.98 SL#4193 --- diff --git a/activity.py b/activity.py index 30a21d0..f63e686 100644 --- a/activity.py +++ b/activity.py @@ -70,18 +70,6 @@ class PhysicsActivity(olpcgames.PyGameActivity): return preview_data - def write_file(self, file_path): - """Over-ride olpcgames write_file so that title keeps working. - """ - event = olpcgames.eventwrap.Event( - type = pygame.USEREVENT, - code = olpcgames.FILE_WRITE_REQUEST, - filename = file_path, - metadata = self.metadata) - olpcgames.eventwrap.post(event) - event.block() - event.retire() # <- Without this, title editing stops updating - # Setup the toolbar def build_toolbar(self): try: -- cgit v0.9.1