From 25e5093ca74f824268ee81523de9c54f3cc5afa1 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Wed, 07 Mar 2012 06:13:31 +0000 Subject: Add help The intention of this help is use it in other activities. Signed-off-by: Gonzalo Odiard Signed-off-by: Agustin Zubiaga --- (limited to 'activity.py') 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) -- cgit v0.9.1