[orca] Revert "Fix for bgo#568696 - locus of focus changes when updating list of files in nautilus"
- From: William Walker <wwalker src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca] Revert "Fix for bgo#568696 - locus of focus changes when updating list of files in nautilus"
- Date: Tue, 14 Jul 2009 21:50:56 +0000 (UTC)
commit 5c499c76018e258153bbe01864a45689959a9018
Author: Willie Walker <william walker sun com>
Date: Tue Jul 14 17:48:50 2009 -0400
Revert "Fix for bgo#568696 - locus of focus changes when updating list of files in nautilus"
The fix caused top level panel icons to no longer be spoken.
This reverts commit d18f5d88005d0153dcb155ed52df7117788dbeb7.
src/orca/focus_tracking_presenter.py | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/orca/focus_tracking_presenter.py b/src/orca/focus_tracking_presenter.py
index 5b985cb..708ba7a 100644
--- a/src/orca/focus_tracking_presenter.py
+++ b/src/orca/focus_tracking_presenter.py
@@ -670,16 +670,6 @@ class FocusTrackingPresenter(presentation_manager.PresentationManager):
and (orca_state.activeScript.app \
!= event.host_application)
- # One last check -- let's make sure the new script actually
- # has an active window. See bug #568696.
- #
- if setNewActiveScript and event.host_application:
- setNewActiveScript = False
- for child in event.host_application:
- if child.getState().contains(pyatspi.STATE_ACTIVE):
- setNewActiveScript = True
- break
-
if not reason and setNewActiveScript:
reason = "object received focus"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]