orca r3570 - in trunk: . src/orca/scripts
- From: richb svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3570 - in trunk: . src/orca/scripts
- Date: Tue, 12 Feb 2008 23:06:29 +0000 (GMT)
Author: richb
Date: Tue Feb 12 23:06:28 2008
New Revision: 3570
URL: http://svn.gnome.org/viewvc/orca?rev=3570&view=rev
Log:
* src/orca/scripts/StarOffice.py:
Further work on bug #515651 - Navigation of cells in oocalc now says
"not selected". We now need to save the 'lastColumn' and 'lastRow'
values in case #6 of locusOfFocusChanged() in StarOffice.py.
Modified:
trunk/ChangeLog
trunk/src/orca/scripts/StarOffice.py
Modified: trunk/src/orca/scripts/StarOffice.py
==============================================================================
--- trunk/src/orca/scripts/StarOffice.py (original)
+++ trunk/src/orca/scripts/StarOffice.py Tue Feb 12 23:06:28 2008
@@ -2109,6 +2109,21 @@
utterances = self.speechGenerator.getSpeech(newLocusOfFocus,
False)
speech.speakUtterances(utterances)
+
+ # Save the current row and column information in the table
+ # cell's table, so that we can use it the next time.
+ #
+ try:
+ table = newLocusOfFocus.parent.queryTable()
+ except:
+ pass
+ else:
+ column = table.getColumnAtIndex( \
+ newLocusOfFocus.getIndexInParent())
+ self.pointOfReference['lastColumn'] = column
+ row = table.getRowAtIndex( \
+ newLocusOfFocus.getIndexInParent())
+ self.pointOfReference['lastRow'] = row
return
# Pass the event onto the parent class to be handled in the default way.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]