From 365f2a2698de6a61894bb2c58b20421c5533e42e Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Fri, 21 Aug 2009 01:08:28 +0000 Subject: Initial mime type support to allow Journal, send to -> friend, sharing. --- (limited to 'activity.py') 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): -- cgit v0.9.1