Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Gtk2/activity.py
diff options
context:
space:
mode:
authorIgnacio Rodríguez <ignaciorodriguez@sugarlabs.org>2013-11-20 16:56:03 (GMT)
committer Ignacio Rodríguez <ignaciorodriguez@sugarlabs.org>2013-11-20 16:56:03 (GMT)
commit3a41e216f6edb989a1ef3289c5c71610195d7731 (patch)
tree76f9376a96be536f2f2e5d5c1dee4f169c8d297f /Gtk2/activity.py
parenta109c7cf0fda10b401a63c3f0dffd0ecf833fe4f (diff)
Corrections
Diffstat (limited to 'Gtk2/activity.py')
-rw-r--r--Gtk2/activity.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Gtk2/activity.py b/Gtk2/activity.py
index 6ab8e29..9e0a866 100644
--- a/Gtk2/activity.py
+++ b/Gtk2/activity.py
@@ -36,11 +36,9 @@ class HelloWorldActivity(activity.Activity):
"""Set up the HelloWorld activity."""
activity.Activity.__init__(self, handle)
- # we do not have collaboration features
- # make the share option insensitive
+ # Change the following number to change max participants
self.max_participants = 1
- # toolbar with the new toolbar redesign
toolbar_box = ToolbarBox()
activity_button = ActivityButton(self)
@@ -68,7 +66,7 @@ class HelloWorldActivity(activity.Activity):
self.set_toolbar_box(toolbar_box)
toolbar_box.show()
- # label with the text, make the string translatable
+ # Change the following text to change the message (Default: 'Hello World!'
label = gtk.Label(_("Hello World!"))
self.set_canvas(label)
label.show()