Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/addons/clickaction.py
diff options
context:
space:
mode:
authorSimon Poirier <simpoir@gmail.com>2009-10-28 06:15:15 (GMT)
committer Simon Poirier <simpoir@gmail.com>2009-10-28 06:15:15 (GMT)
commit53af01c95abe622c0490b43c12439a04aa449509 (patch)
tree6e7ca498415f8e20874c1eaf7b2c19458218eeb3 /addons/clickaction.py
parentd5e7b4d380dfa9b979071b862e67d29ec127c542 (diff)
addon test extension to check interface contraints
Diffstat (limited to 'addons/clickaction.py')
-rw-r--r--addons/clickaction.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/clickaction.py b/addons/clickaction.py
index 88c5519..fef766e 100644
--- a/addons/clickaction.py
+++ b/addons/clickaction.py
@@ -25,9 +25,10 @@ class ClickAction(Action):
@param widget The threehish representation of the widget
"""
widget = TStringProperty("")
- def __init__(self, widget):
+ def __init__(self, widget=None):
Action.__init__(self)
- self.widget = widget
+ if widget:
+ self.widget = widget
def do(self):
"""