[orca] Fix for bug 732550 - Orca does not announce selection state toggling in Qt
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bug 732550 - Orca does not announce selection state toggling in Qt
- Date: Mon, 4 Aug 2014 15:48:13 +0000 (UTC)
commit c9f9a2867226cda7795334debe174f2ed364ec4a
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Aug 4 11:46:11 2014 -0400
Fix for bug 732550 - Orca does not announce selection state toggling in Qt
Removed the old Gtk+ specific hack which no longer seems needed.
If it turns out it is still needed, we can always add it back on
a per-toolkit basis.
src/orca/scripts/default.py | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 6c1d192..7986dba 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -2355,12 +2355,7 @@ class Script(script.Script):
announceState = False
keyString, mods = self.utilities.lastKeyAndModifiers()
if keyString == "space":
- if mods & keybindings.CTRL_MODIFIER_MASK:
- announceState = True
- else:
- # If we are already selected and the user presses "space" again,
- # we don't want to speak an intermediate "unselected" state.
- announceState = isSelected and event.detail1
+ announceState = True
elif keyString in ["Down", "Up"] \
and isSelected and obj.getRole() == pyatspi.ROLE_TABLE_CELL:
announceState = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]