Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Workshop.activity/TutorialStoreResults.py
diff options
context:
space:
mode:
authorCharlie <charlie@tutorius-dev.(none)>2009-12-07 18:59:03 (GMT)
committer Charlie <charlie@tutorius-dev.(none)>2009-12-07 18:59:03 (GMT)
commit3618ba9ab56baf8119e7c4eff373f2700a0dc53e (patch)
tree025b2a09bf34e2899ef210b01990f5fb3cca5882 /Workshop.activity/TutorialStoreResults.py
parent410da49824e3a310829a1d02e8f8b488b227d702 (diff)
Can start activity from workshop if related activities are open
Diffstat (limited to 'Workshop.activity/TutorialStoreResults.py')
-rw-r--r--Workshop.activity/TutorialStoreResults.py19
1 files changed, 17 insertions, 2 deletions
diff --git a/Workshop.activity/TutorialStoreResults.py b/Workshop.activity/TutorialStoreResults.py
index 3a7f78d..a6bda76 100644
--- a/Workshop.activity/TutorialStoreResults.py
+++ b/Workshop.activity/TutorialStoreResults.py
@@ -1,3 +1,18 @@
+# Copyright (C) 2009, Tutorius.org
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import sys, os
import gtk
from Workshop import WorkshopListItem
@@ -106,7 +121,7 @@ class TutorialStoreResults(gtk.VBox):
class TutorialStoreListItem(WorkshopListItem):
def __init__(self,tutorial,controller):
- WorkshopListItem.__init__(self,tutorial,controller)
+ WorkshopListItem.__init__(self,tutorial,controller,True)
self.last_row = gtk.HBox(False,15)
self.btn_detail = gtk.Button('Details')
@@ -117,4 +132,4 @@ class TutorialStoreListItem(WorkshopListItem):
self.last_row.show_all()
#connect the buttons
- self.btn_detail.connect("clicked",self.controller.show_details,self.tutorial) \ No newline at end of file
+ self.btn_detail.connect("clicked",self.controller.show_details,self.tutorial)