[orca/gnome-3-26] Don't include off-screen labels in Gtk+ listboxes
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-26] Don't include off-screen labels in Gtk+ listboxes
- Date: Mon, 20 Nov 2017 14:08:40 +0000 (UTC)
commit bead0471d4d24cc2472076250a6d13dfa4c04e7d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Nov 20 09:05:06 2017 -0500
Don't include off-screen labels in Gtk+ listboxes
Gtk+ symbolic icon information is causing unwanted chattiness.
src/orca/scripts/toolkits/gtk/script_utilities.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/gtk/script_utilities.py
b/src/orca/scripts/toolkits/gtk/script_utilities.py
index 78b2468..628fbd1 100644
--- a/src/orca/scripts/toolkits/gtk/script_utilities.py
+++ b/src/orca/scripts/toolkits/gtk/script_utilities.py
@@ -54,7 +54,7 @@ class Utilities(script_utilities.Utilities):
# Present GtkLabel children inside a GtkListBox row.
if obj.parent and obj.parent.getRole() == pyatspi.ROLE_LIST_BOX:
- labels = self.unrelatedLabels(obj, onlyShowing=False)
+ labels = self.unrelatedLabels(obj)
displayedText = " ".join(map(self.displayedText, labels))
self._script.generatorCache[self.DISPLAYED_TEXT][obj] = displayedText
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]