Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py12
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: