[orca] More specific debugging info



commit 5367267827197b79b88e94332afc8546859df014
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Aug 9 11:59:08 2016 -0400

    More specific debugging info

 src/orca/chat.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/chat.py b/src/orca/chat.py
index af7706e..e5d11c0 100644
--- a/src/orca/chat.py
+++ b/src/orca/chat.py
@@ -855,11 +855,11 @@ class Chat:
 
         if obj and obj.getState().contains(pyatspi.STATE_SHOWING):
             active = self._script.utilities.topLevelObjectIsActiveAndCurrent(obj)
-            msg = "INFO: %s's is focused chat: %s" % (obj, active)
+            msg = "INFO: %s's window is focused chat: %s" % (obj, active)
             debug.println(debug.LEVEL_INFO, msg, True)
             return active
 
-        msg = "INFO: %s is not focused chat" % obj
+        msg = "INFO: %s is not focused chat (not showing)" % obj
         debug.println(debug.LEVEL_INFO, msg, True)
         return False
 


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