[orca] Fix for bug 673715 - Orca double-echoes keys pressed in Thunderbird address fields
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bug 673715 - Orca double-echoes keys pressed in Thunderbird address fields
- Date: Sun, 8 Apr 2012 16:24:34 +0000 (UTC)
commit 9c83f0872eca9551c56f008152e61357953d6018
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Apr 8 12:23:01 2012 -0400
Fix for bug 673715 - Orca double-echoes keys pressed in Thunderbird address fields
src/orca/scripts/apps/Thunderbird/script.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/Thunderbird/script.py b/src/orca/scripts/apps/Thunderbird/script.py
index f8d56d2..1eed892 100644
--- a/src/orca/scripts/apps/Thunderbird/script.py
+++ b/src/orca/scripts/apps/Thunderbird/script.py
@@ -481,6 +481,10 @@ class Script(Gecko.Script):
# address so that we're not too "chatty." See bug #533042.
#
if parent.getRole() == pyatspi.ROLE_AUTOCOMPLETE:
+ if len(event.any_data) == 1:
+ default.Script.onTextInserted(self, event)
+ return
+
if event.type.endswith("system") and event.any_data:
# The autocompleted address may start with the name,
# or it might start with the text typed by the user
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]