[orca] Fix for bug 693159 - Orca doesnt echo words in gnome-terminal
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bug 693159 - Orca doesnt echo words in gnome-terminal
- Date: Mon, 4 Feb 2013 21:29:05 +0000 (UTC)
commit 3626476cdc3097982d0b6cbe2578a3d54f78dec6
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Feb 4 16:27:47 2013 -0500
Fix for bug 693159 - Orca doesnt echo words in gnome-terminal
src/orca/scripts/default.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 354f4ab..1371cc4 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -3808,7 +3808,8 @@ class Script(script.Script):
keyString, mods = self.utilities.lastKeyAndModifiers()
wasCommand = mods & settings.COMMAND_MODIFIER_MASK
if not wasCommand and keyString in ["Return", "Tab", "space"] \
- and role == pyatspi.ROLE_TERMINAL:
+ and role == pyatspi.ROLE_TERMINAL \
+ and event.any_data.strip():
wasCommand = True
try:
selections = event.source.queryText().getNSelections()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]