[pyatspi2] Revert "Support startswith for event types"



commit e2a1fdc34fda57cbd921e333c38a9d6d28040454
Author: Mike Gorse <mgorse novell com>
Date:   Wed Dec 29 11:44:41 2010 -0500

    Revert "Support startswith for event types"
    
    This reverts commit 0cb2f930135ce0119d2cb174af8070d2c344fc14.

 pyatspi/Accessibility.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/Accessibility.py b/pyatspi/Accessibility.py
index c9f77db..dd0cdd4 100644
--- a/pyatspi/Accessibility.py
+++ b/pyatspi/Accessibility.py
@@ -277,7 +277,6 @@ Atspi.Value.minimumValue = property(fget=Atspi.Value.get_minimum_value)
 Atspi.Event.host_application = property(fget=lambda x: x.source.get_application())
 Atspi.EventType.__repr__ = eventTypeToString
 Atspi.EventType.__str__ = eventTypeToString
-Atspi.EventType.startswith = lambda x,s: str(x).startswith(s)
 
 ### RelationSet ###
 Atspi.Relation.getRelationType = Atspi.Relation.get_relation_type



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]