[orca] Tweak to the fix for Gecko combo boxes.



commit 34cd83246ed6b272bf646835b72870afc108c46c
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Mar 13 11:39:08 2012 -0400

    Tweak to the fix for Gecko combo boxes.

 src/orca/scripts/toolkits/Gecko/script.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index d29050a..71129f0 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -1409,8 +1409,9 @@ class Script(default.Script):
                 except:
                     pass
                 else:
-                    self.visualAppearanceChanged(event, parent)
-                    return
+                    if parentRole == pyatspi.ROLE_COMBO_BOX:
+                        self.visualAppearanceChanged(event, parent)
+                        return
 
         default.Script.onSelectionChanged(self, event)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]