I want to push some of the code required for sharing into
sugar-toolkit, for example:

    def _list_tubes_reply_cb(self, tubes):
        for tube_info in tubes:
            self._new_tube_cb(*tube_info)

If I put this directly into sugar.activity.activity.Activity, then all
activities will gain the code which might impose some overhead.

Alternatively I can subclass Activity to SharableActivity or something
like that, and add the telepathy/tubes helper code in there.

Thoughts?

Regards
Morgan
_______________________________________________
Sugar mailing list
[email protected]
http://lists.laptop.org/listinfo/sugar

Reply via email to