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

10 lines
233 B
Python
Raw Normal View History

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