orca r4163 - trunk/src/orca
- From: joanied svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r4163 - trunk/src/orca
- Date: Sat, 6 Sep 2008 22:38:09 +0000 (UTC)
Author: joanied
Date: Sat Sep 6 22:38:09 2008
New Revision: 4163
URL: http://svn.gnome.org/viewvc/orca?rev=4163&view=rev
Log:
Tweak for the fix to bug #515923.
Modified:
trunk/src/orca/where_am_I.py
Modified: trunk/src/orca/where_am_I.py
==============================================================================
--- trunk/src/orca/where_am_I.py (original)
+++ trunk/src/orca/where_am_I.py Sat Sep 6 22:38:09 2008
@@ -1143,11 +1143,12 @@
return text.strip()
- def _getSpeechForRoleName(self, obj):
+ def _getSpeechForRoleName(self, obj, role=None):
"""Returns the rolename to be spoken for the object.
"""
- return self._script.speechGenerator.getSpeechForObjectRole(obj)[0]
+ return self._script.speechGenerator.\
+ getSpeechForObjectRole(obj, role)[0]
def _getGroupLabel(self, obj):
"""Returns the label for a group of components.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]