Author: reinhard
Date: 2006-10-02 05:50:13 -0500 (Mon, 02 Oct 2006)
New Revision: 8706
Modified:
trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Use better method to update the UI focus position when scrollbar is moved.
Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-10-02 10:48:30 UTC (rev
8705)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-10-02 10:50:13 UTC (rev
8706)
@@ -396,7 +396,8 @@
else:
# If we didn't move the cursor, we have to update cursor position in UI
if getattr(self._form._currentEntry, '_block', None) == self:
- self._form.findAndChangeFocus (self._form._currentEntry)
+ self._form.dispatchEvent('gotoENTRY',
+ object=self._form._currentEntry, _form=self._form)
# ---------------------------------------------------------------------------
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue