From 636ea828404401df256b234f254bad32c70aba66 Mon Sep 17 00:00:00 2001 From: Simon Poirier Date: Tue, 27 Oct 2009 19:25:12 +0000 Subject: code review related fixes --- (limited to 'tutorius/properties.py') diff --git a/tutorius/properties.py b/tutorius/properties.py index 68e6091..b9e6267 100644 --- a/tutorius/properties.py +++ b/tutorius/properties.py @@ -331,14 +331,14 @@ class TAddonProperty(TutoriusProperty): return super(TAddonProperty, self).validate(value) raise ValueError("Expected TPropContainer instance as TaddonProperty value") -class TGtkSignal(TutoriusProperty): +class TEventType(TutoriusProperty): """ - Represents a gobject signal for a GTK widget. + Represents an GUI signal for a widget. """ def __init__(self, value): - TutoriusProperty.__init__(self) + super(TEventType, self).__init__() self.type = "gtk-signal" - + self.default = self.validate(value) class TAddonListProperty(TutoriusProperty): -- cgit v0.9.1