[orca/gnome-3-16] Hack around yet another missing object:state-changed:focused event for Gtk+
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-16] Hack around yet another missing object:state-changed:focused event for Gtk+
- Date: Wed, 22 Apr 2015 19:29:43 +0000 (UTC)
commit 543e9ee3187df97c13b3dcbffdd8efb2353165c0
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Apr 22 15:28:15 2015 -0400
Hack around yet another missing object:state-changed:focused event for Gtk+
src/orca/scripts/toolkits/gtk/script.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/gtk/script.py b/src/orca/scripts/toolkits/gtk/script.py
index 0e2c0e7..d8c945d 100644
--- a/src/orca/scripts/toolkits/gtk/script.py
+++ b/src/orca/scripts/toolkits/gtk/script.py
@@ -113,6 +113,11 @@ class Script(default.Script):
orca.setLocusOfFocus(event, event.source)
return
+ # https://bugzilla.gnome.org/show_bug.cgi?id=748311
+ if role == pyatspi.ROLE_TERMINAL:
+ orca.setLocusOfFocus(event, event.source)
+ return
+
# https://bugzilla.gnome.org/show_bug.cgi?id=720987
if role == pyatspi.ROLE_TABLE_COLUMN_HEADER:
orca.setLocusOfFocus(event, event.source)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]