diff options
author | Gary Martin <gary@garycmartin.com> | 2009-08-21 01:08:28 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2009-08-21 01:08:28 (GMT) |
commit | 365f2a2698de6a61894bb2c58b20421c5533e42e (patch) | |
tree | 4daba734075f341dd74680e082565bbe4e8328fe /activity.py | |
parent | d31ab17e04bb2d0c7a0b03e654fff590d7a06c3f (diff) |
Initial mime type support to allow Journal, send to -> friend, sharing.
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activity.py b/activity.py index 0a8eead..eafb155 100644 --- a/activity.py +++ b/activity.py @@ -11,6 +11,10 @@ class PhysicsActivity(olpcgames.PyGameActivity): game_name = 'physics' game_title = _('Physics') game_size = None # olpcgame will choose size + + def __init__(self, handle): + super(PhysicsActivity, self).__init__(handle) + self.metadata['mime_type'] = 'application/x-physics-activity' # setup the toolbar def build_toolbar(self): |