[orca/gnome-3-20] Handle another instance of an app becoming non-responsive
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-20] Handle another instance of an app becoming non-responsive
- Date: Wed, 11 May 2016 20:01:17 +0000 (UTC)
commit 477ea9911f69ed50c59a179fc253d6a7ec03c240
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed May 11 15:59:34 2016 -0400
Handle another instance of an app becoming non-responsive
src/orca/script_utilities.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 0aa68c7..a9d7231 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -3212,6 +3212,7 @@ class Utilities:
def selectedChildren(self, obj):
try:
selection = obj.querySelection()
+ count = selection.nSelectedChildren
except NotImplementedError:
msg = "INFO: %s does not implement the selection interface" % obj
debug.println(debug.LEVEL_INFO, msg, True)
@@ -3221,7 +3222,6 @@ class Utilities:
debug.println(debug.LEVEL_INFO, msg, True)
return []
- count = selection.nSelectedChildren
msg = "INFO: %s reports %i selected children" % (obj, count)
debug.println(debug.LEVEL_INFO, msg, True)
@@ -3256,6 +3256,7 @@ class Utilities:
def selectedChildCount(self, obj):
try:
selection = obj.querySelection()
+ count = selection.nSelectedChildren
except NotImplementedError:
msg = "INFO: %s does not implement the selection interface" % obj
debug.println(debug.LEVEL_INFO, msg, True)
@@ -3265,7 +3266,6 @@ class Utilities:
debug.println(debug.LEVEL_INFO, msg, True)
return 0
- count = selection.nSelectedChildren
msg = "INFO: %s reports %i selected children" % (obj, count)
debug.println(debug.LEVEL_INFO, msg, True)
return count
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]