[pyatspi2] Fix ChildrenChanged events



commit 13e8e3f6786cdc0ca707cf19339fafd7aa6f42d4
Author: Mike Gorse <mgorse novell com>
Date:   Thu Apr 1 16:30:48 2010 -0400

    Fix ChildrenChanged events
    
    Fix order of ChildrenChanged parameteres to match what is sent by
    at-spi2-atk.

 pyatspi/cache.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/cache.py b/pyatspi/cache.py
index 8c52ed2..1c2a683 100644
--- a/pyatspi/cache.py
+++ b/pyatspi/cache.py
@@ -121,7 +121,7 @@ class DesktopCacheManager (object):
                                 self._application_list[bus_name] = ApplicationCacheManager (cache, bus_name)
 
 	def _children_changed_handler (self, 
-                                       app, minor, detail1, detail2, any_data,
+                                       minor, detail1, detail2, any_data, app,
 				       interface=None, sender=None, member=None, path=None):
                 if interface==_ATSPI_EVENT_OBJECT_INTERFACE and sender == self._unique_name and path == ATSPI_ROOT_PATH:
 		        if minor == "add":



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