[orca] More work on Empathy support.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] More work on Empathy support.
- Date: Sun, 11 Apr 2010 19:58:06 +0000 (UTC)
commit ef6d375ab4622b015d31c0d4a5552b61a02efa7e
Author: Joanmarie Diggs <Joanmarie Diggs gmail com>
Date: Sun Apr 11 15:57:12 2010 -0400
More work on Empathy support.
src/orca/scripts/apps/empathy/script.py | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/empathy/script.py b/src/orca/scripts/apps/empathy/script.py
index d9875e4..72e6201 100644
--- a/src/orca/scripts/apps/empathy/script.py
+++ b/src/orca/scripts/apps/empathy/script.py
@@ -105,3 +105,14 @@ class Script(default.Script):
return
default.Script.onTextInserted(self, event)
+
+ def onWindowActivated(self, event):
+ """Called whenever a toplevel window is activated."""
+
+ # Hack to "tickle" the accessible hierarchy. Otherwise, the
+ # events we need to present text added to the chatroom are
+ # missing.
+ #
+ allPageTabs = self.findByRole(event.source, pyatspi.ROLE_PAGE_TAB)
+
+ default.Script.onWindowActivated(self, event)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]