[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/forms/src GFForm.py
From: |
James Thompson |
Subject: |
gnue/forms/src GFForm.py |
Date: |
Sun, 27 Apr 2003 15:59:25 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: James Thompson <address@hidden> 03/04/27 15:59:24
Modified files:
forms/src : GFForm.py
Log message:
fix for back tabbing thru transparent pages
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFForm.py.diff?tr1=1.241&tr2=1.242&r1=text&r2=text
Patches:
Index: gnue/forms/src/GFForm.py
diff -c gnue/forms/src/GFForm.py:1.241 gnue/forms/src/GFForm.py:1.242
*** gnue/forms/src/GFForm.py:1.241 Sat Apr 26 00:47:07 2003
--- gnue/forms/src/GFForm.py Sun Apr 27 15:59:24 2003
***************
*** 625,631 ****
(self._currentBlock.mode=='query' and object._queryable))):
nextEntry = object
lastEntry = object
!
#
# Find the first navigable field prior to the
# field losing focus
--- 625,631 ----
(self._currentBlock.mode=='query' and object._queryable))):
nextEntry = object
lastEntry = object
!
#
# Find the first navigable field prior to the
# field losing focus
***************
*** 641,656 ****
nextEntry = object
if nextEntry == lastEntry and self._currentBlock.transparent and
self._currentPage.transparent:
! i = self._pageList.index(self._currentPage)
try:
dest = self._layout._pageList[i - 1]
except IndexError:
dest = self._layout._pageList[-1]
# TODO: This fails if last entry is not navigable
self.findAndChangeFocus(dest._entryList[-1])
!
! self.findAndChangeFocus(nextEntry)
!
#
# refreshDisplay
--- 641,655 ----
nextEntry = object
if nextEntry == lastEntry and self._currentBlock.transparent and
self._currentPage.transparent:
! i = self._layout._pageList.index(self._currentPage)
try:
dest = self._layout._pageList[i - 1]
except IndexError:
dest = self._layout._pageList[-1]
# TODO: This fails if last entry is not navigable
self.findAndChangeFocus(dest._entryList[-1])
! else:
! self.changeFocus(nextEntry)
#
# refreshDisplay