diff options
author | JCTutorius <charlie@tutorius-dev.(none)> | 2009-12-27 19:32:14 (GMT) |
---|---|---|
committer | JCTutorius <charlie@tutorius-dev.(none)> | 2009-12-27 19:32:14 (GMT) |
commit | a1e4d136f860b03abcafc7bf2e2d65b412bc13cd (patch) | |
tree | 09089d1ea59fd3b5fdce0b5ab64a842108b6001c /Workshop.activity/TutorialStoreResults.py | |
parent | c37cd77ae2b3be4cd216d5ffd3130f1e8fb1663c (diff) | |
parent | 6d1cf01b2b20a8deabb6bde44777e9823b0201ce (diff) |
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) |