diff options
author | mike <michael.jmontcalm@gmail.com> | 2009-04-06 17:12:21 (GMT) |
---|---|---|
committer | mike <michael.jmontcalm@gmail.com> | 2009-04-06 17:12:21 (GMT) |
commit | 217ea2dca4f69def9811cf3ad09fc0888178b192 (patch) | |
tree | 6d5d4b75c03ff1ee4f84ef8c623dc9fc6d1950dc /src/sugar/tutorius/actions.py | |
parent | 39a9a7030a774257d7398661edec9f50f6135974 (diff) |
Revert "Merge branch 'lp353185'"
This reverts commit 92a5c29ae2cf5afa8857b581a38f3d463fd83732.
Diffstat (limited to 'src/sugar/tutorius/actions.py')
-rw-r--r-- | src/sugar/tutorius/actions.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/sugar/tutorius/actions.py b/src/sugar/tutorius/actions.py index 7681dea..60ccd8b 100644 --- a/src/sugar/tutorius/actions.py +++ b/src/sugar/tutorius/actions.py @@ -213,19 +213,4 @@ class WidgetIdentifyAction(Action): if self._dialog: self._dialog.destroy() -class ChainAction(Action): - """Utility class to allow executing actions in a specific order""" - def __init__(self, *actions): - """ChainAction(action1, ... ) builds a chain of actions""" - self._actions = actions - - def do(self,**kwargs): - """do() each action in the chain""" - for act in self._actions: - act.do(**kwargs) - - def undo(self): - """undo() each action in the chain, starting with the last""" - for act in reversed(self._actions): - act.undo() |