diff options
author | Gary Martin <gary@garycmartin.com> | 2012-12-17 16:40:45 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2012-12-17 16:40:45 (GMT) |
commit | 12da6a6a129ad5109c440f2ea56edf9c69979ef4 (patch) | |
tree | a2f742388b08c4001dbe4f92dc24fbce5bce1e07 | |
parent | f832afb0436525576142b0e08db954c295315e7f (diff) |
Removed old workaround for a pygame/olpcgame title text editing issue that was causing new issues in Sugar 0.98 SL#4193
-rw-r--r-- | activity.py | 12 |
1 files changed, 0 insertions, 12 deletions
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: |