diff options
author | Simon Poirier <simpoir@gmail.com> | 2009-10-27 19:25:12 (GMT) |
---|---|---|
committer | Simon Poirier <simpoir@gmail.com> | 2009-10-27 19:25:12 (GMT) |
commit | 636ea828404401df256b234f254bad32c70aba66 (patch) | |
tree | 5db056380d566436378dc450061e76f453bfb35b /tutorius/properties.py | |
parent | 660a5bd1e0a24d83fc963a83097b540bc2f28eaa (diff) |
code review related fixes
Diffstat (limited to 'tutorius/properties.py')
-rw-r--r-- | tutorius/properties.py | 8 |
1 files changed, 4 insertions, 4 deletions
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): |