[orca] Add additional debugging
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add additional debugging
- Date: Fri, 19 Apr 2019 18:43:13 +0000 (UTC)
commit 4970ee58cfc98e41d1b25b47a820a489d4fb7636
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Apr 19 14:42:20 2019 -0400
Add additional debugging
src/orca/script_utilities.py | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 832c69692..ea1e99aed 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -5123,13 +5123,22 @@ class Utilities:
return False
if self.selectedChildCount(obj) == obj.childCount:
+ msg = "INFO: All %i children believed to be selected" % obj.childCount
+ debug.println(debug.LEVEL_INFO, msg, True)
return True
if "Table" not in interfaces:
return False
table = obj.queryTable()
- if table.nSelectedRows == table.nRows or table.nSelectedColumns == table.nColumns:
+ if table.nSelectedRows == table.nRows:
+ msg = "INFO: All %i rows believed to be selected" % table.nRows
+ debug.println(debug.LEVEL_INFO, msg, True)
+ return True
+
+ if table.nSelectedColumns == table.nColumns:
+ msg = "INFO: All %i columns believed to be selected" % table.nColumns
+ debug.println(debug.LEVEL_INFO, msg, True)
return True
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]