diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-02-22 17:14:22 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-02-22 17:14:22 (GMT) |
commit | 4f2cf0dbc8b1dcbb15bc1c603d22bd570d064747 (patch) | |
tree | ed87a51896d667129fadca47c67fb08854eea885 /chatactivity.py | |
parent | 57c7150e6d21d55ceb186c6a6a43a580988084e4 (diff) |
Adapt to api changes
Diffstat (limited to 'chatactivity.py')
-rwxr-xr-x | chatactivity.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chatactivity.py b/chatactivity.py index c646f74..b8d499a 100755 --- a/chatactivity.py +++ b/chatactivity.py @@ -16,13 +16,13 @@ from gettext import gettext as _ -from sugar.activity.Activity import Activity +from sugar.activity import activity from sugar.chat.Chat import Chat from sugar.p2p.Stream import Stream -class ChatActivity(Activity): - def __init__(self): - Activity.__init__(self) +class ChatActivity(activity.Activity): + def __init__(self, handle): + activity.Activity.__init__(self, handle) self._group_stream = None |