Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Workshop.activity/TutorialStoreDetails.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/TutorialStoreDetails.py
parent410da49824e3a310829a1d02e8f8b488b227d702 (diff)
Can start activity from workshop if related activities are open
Diffstat (limited to 'Workshop.activity/TutorialStoreDetails.py')
-rw-r--r--Workshop.activity/TutorialStoreDetails.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/Workshop.activity/TutorialStoreDetails.py b/Workshop.activity/TutorialStoreDetails.py
index 83c5366..3b8fc89 100644
--- a/Workshop.activity/TutorialStoreDetails.py
+++ b/Workshop.activity/TutorialStoreDetails.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 WorkshopDetail
@@ -5,7 +20,7 @@ from Workshop import WorkshopDetail
class TutorialStoreDetails(WorkshopDetail):
def __init__(self,tutorial,controller):
- WorkshopDetail.__init__(self,tutorial,controller)
+ WorkshopDetail.__init__(self,tutorial,controller,True)
download_button = gtk.Button('Download')
infos_button = gtk.Button('Informations')