diff options
Diffstat (limited to 'Workshop.activity/TutorialStoreResults.py')
-rw-r--r-- | Workshop.activity/TutorialStoreResults.py | 19 |
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) |