diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-03-07 06:13:31 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-03-07 15:22:14 (GMT) |
commit | 25e5093ca74f824268ee81523de9c54f3cc5afa1 (patch) | |
tree | 7c2ba40c05badf4912e87a2ca9634a27775a608b /activity.py | |
parent | f4b2d1915bbfb5d0d3c013dce0112d4356ccb417 (diff) |
Add help
The intention of this help is use it in other activities.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Signed-off-by: Agustin Zubiaga <aguz@sugarlabs.org>
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activity.py b/activity.py index 3202c1a..71425e3 100644 --- a/activity.py +++ b/activity.py @@ -47,6 +47,7 @@ from sugar.datastore import datastore from charts import Chart from readers import StopWatchReader from readers import MeasureReader +import simplegraphhelp # Mime types STOPWATCH_MIME_TYPE = "application/x-stopwatch-activity" @@ -273,6 +274,8 @@ class SimpleGraph(activity.Activity): separator.set_expand(True) toolbarbox.toolbar.insert(separator, -1) + simplegraphhelp.create_help(toolbarbox.toolbar) + stopbtn = StopButton(self) toolbarbox.toolbar.insert(stopbtn, -1) |