orca r3683 - in branches/gnome-2-22: . src/orca
- From: eitani svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3683 - in branches/gnome-2-22: . src/orca
- Date: Mon, 3 Mar 2008 18:26:41 +0000 (GMT)
Author: eitani
Date: Mon Mar 3 18:26:40 2008
New Revision: 3683
URL: http://svn.gnome.org/viewvc/orca?rev=3683&view=rev
Log:
* src/orca/Gecko.py:
Fixed extra verbosity in web pages with nested frames (bug #518893).
Merge from trunk.
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/src/orca/Gecko.py
Modified: branches/gnome-2-22/src/orca/Gecko.py
==============================================================================
--- branches/gnome-2-22/src/orca/Gecko.py (original)
+++ branches/gnome-2-22/src/orca/Gecko.py Mon Mar 3 18:26:40 2008
@@ -4276,9 +4276,13 @@
if event.source.getRole() == pyatspi.ROLE_DOCUMENT_FRAME and \
event.detail1:
documentFrame = event.source
+
+ parent_attribs = self._getAttrDictionary(documentFrame.parent)
+ parent_tag = parent_attribs.get('tag', '')
if self._loadingDocumentContent or \
- documentFrame == self._currentFrame:
+ documentFrame == self._currentFrame or \
+ not parent_tag.endswith('browser'):
return
self._currentFrame = documentFrame
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]