diff options
author | Vincent Vinet <vince.vinet@gmail.com> | 2009-10-19 20:15:41 (GMT) |
---|---|---|
committer | Vincent Vinet <vince.vinet@gmail.com> | 2009-10-19 20:15:41 (GMT) |
commit | 912528253fcf1fc43c1a2d02ffe6e540fe60d8e7 (patch) | |
tree | 1d5c075046d260580c9eeb27d0d7d09045a7d4b5 /addons/gtkwidgeteventfilter.py | |
parent | 6584510d390a37153c20974da6704a907058fea0 (diff) |
Merge the TProbe Integration and fix merging induced bugs
Diffstat (limited to 'addons/gtkwidgeteventfilter.py')
-rw-r--r-- | addons/gtkwidgeteventfilter.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/gtkwidgeteventfilter.py b/addons/gtkwidgeteventfilter.py index cbfb00c..5497af4 100644 --- a/addons/gtkwidgeteventfilter.py +++ b/addons/gtkwidgeteventfilter.py @@ -13,8 +13,9 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -from sugar.tutorius.filters import * -from sugar.tutorius.properties import * +from sugar.tutorius.filters import EventFilter +from sugar.tutorius.properties import TUAMProperty, TStringProperty +from sugar.tutorius.gtkutils import find_widget class GtkWidgetEventFilter(EventFilter): """ @@ -23,13 +24,12 @@ class GtkWidgetEventFilter(EventFilter): object_id = TUAMProperty() event_name = TStringProperty("clicked") - def __init__(self, next_state=None, object_id=None, event_name=None): + def __init__(self, object_id=None, event_name=None): """Constructor - @param next_state default EventFilter param, passed on to EventFilter @param object_id object fqdn-style identifier @param event_name event to attach to """ - super(GtkWidgetEventFilter,self).__init__(next_state) + super(GtkWidgetEventFilter,self).__init__() self._callback = None self.object_id = object_id self.event_name = event_name |