dogtail r402 - in trunk: . dogtail



Author: zcerza
Date: Mon Aug 18 18:07:34 2008
New Revision: 402
URL: http://svn.gnome.org/viewvc/dogtail?rev=402&view=rev

Log:
* dogtail/procedural.py: Make Click.__call__() work without arguments
again.


Modified:
   trunk/ChangeLog
   trunk/dogtail/procedural.py

Modified: trunk/dogtail/procedural.py
==============================================================================
--- trunk/dogtail/procedural.py	(original)
+++ trunk/dogtail/procedural.py	Mon Aug 18 18:07:34 2008
@@ -298,9 +298,10 @@
         If raw is False or if button evaluates to False, just pass the rest of 
         the arguments to Action.
         """
+        if name or roleName or description:
+            FocusWidget.__call__(self, name = name, roleName = roleName, description = description)
         if raw and button:
             # We're doing a raw mouse click
-            FocusWidget.__call__(self, name = name, roleName = roleName, description = description)
             Click.node.click(button)
         else:
             Action.__call__(self, name = name, roleName = roleName, description = description, delay = delay)



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