sugar-toolkit-gtk3/tests/data/sample.activity/activity.py

9 lines
232 B
Python
Raw Normal View History

2012-12-06 22:19:28 +01:00
from gettext import gettext as _
from sugar3.activity import activity
class SampleActivity(activity.Activity):
def __init__(self, handle):
activity.Activity.__init__(self, handle)
self._text = _("Text string")