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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/activity.py b/activity.py
index 90b46c7..6061630 100644
--- a/activity.py
+++ b/activity.py
@@ -2,8 +2,8 @@ from sugar.activity import activity
class ViewSourceActivity(activity.Activity):
"""Activity subclass which handles the 'view source' key."""
- def __init__(self, handle):
- super(ViewSourceActivity, self).__init__(handle)
+ def __init__(self, handle, **kwargs):
+ super(ViewSourceActivity, self).__init__(handle, **kwargs)
self.__source_object_id = None # XXX: persist this across invocations?
self.connect('key-press-event', self._key_press_cb)
def _key_press_cb(self, widget, event):