From 7019bbb21cf345a25afe87c148e5651aef3dd5c2 Mon Sep 17 00:00:00 2001 From: Vincent Vinet Date: Sat, 28 Feb 2009 01:54:39 +0000 Subject: -Replace the current event classes to use EVentFilters and callbacks onto the Tutorial claa -Wow this is an awesome commit, seriously! --- (limited to 'src/sugar/tutorius/actions.py') diff --git a/src/sugar/tutorius/actions.py b/src/sugar/tutorius/actions.py index b48cb8b..58a4216 100644 --- a/src/sugar/tutorius/actions.py +++ b/src/sugar/tutorius/actions.py @@ -58,7 +58,7 @@ class DoOnceMixin(object): class fails at __init__ ..... mixins... right....narwhals! """ def __init__(self ): - super(DoOnceMixin, self).__init + super(DoOnceMixin, self).__init__() self._called = False self._need_undo = False @@ -107,7 +107,7 @@ class OnceWrapper(object): class DialogMessage(Action): """Show a dialog!""" def __init__(self, message): - super(DialogMessage, self).__init__(self) + super(DialogMessage, self).__init__() self._message = message self._dialog = None -- cgit v0.9.1