diff options
author | Charlie <charlie@tutorius-dev.(none)> | 2009-12-07 18:59:03 (GMT) |
---|---|---|
committer | Charlie <charlie@tutorius-dev.(none)> | 2009-12-07 18:59:03 (GMT) |
commit | 3618ba9ab56baf8119e7c4eff373f2700a0dc53e (patch) | |
tree | 025b2a09bf34e2899ef210b01990f5fb3cca5882 /Workshop.activity/Rating.py | |
parent | 410da49824e3a310829a1d02e8f8b488b227d702 (diff) |
Can start activity from workshop if related activities are open
Diffstat (limited to 'Workshop.activity/Rating.py')
-rw-r--r-- | Workshop.activity/Rating.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Workshop.activity/Rating.py b/Workshop.activity/Rating.py index a13e5a2..684175b 100644 --- a/Workshop.activity/Rating.py +++ b/Workshop.activity/Rating.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 gtk from gtk import gdk import logging @@ -141,4 +156,4 @@ class Rating(gtk.Widget): if (self.rating > 5): self.rating = 5 # redraw the widget - self.queue_draw()
\ No newline at end of file + self.queue_draw() |