[accerciser] Fix application sensitivity computation
- From: Samuel Thibault <sthibaul src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accerciser] Fix application sensitivity computation
- Date: Fri, 26 Apr 2019 14:54:34 +0000 (UTC)
commit 905d27de3a31646ceca4f0a4df0cdcc682b84d7c
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date: Fri Apr 26 16:52:52 2019 +0200
Fix application sensitivity computation
Delaying it to an idle callback lets indexes get wrong and the output
be bogus. Since the recursion is now fixed again, we can drop this.
src/lib/accerciser/accessible_treeview.py | 16 ----------------
1 file changed, 16 deletions(-)
---
diff --git a/src/lib/accerciser/accessible_treeview.py b/src/lib/accerciser/accessible_treeview.py
index bf6795c..664226a 100644
--- a/src/lib/accerciser/accessible_treeview.py
+++ b/src/lib/accerciser/accessible_treeview.py
@@ -943,22 +943,6 @@ class AccessibleTreeView(gtk.TreeView, ToolsAccessor):
'''
A cellrenderer data function. renderer's this application's node as insensitive.
- @param tvc: A treeview column.
- @type tvc: L{gtk.TreeViewColumn}
- @param cellrenderer: The cellrenderer that needs to be tweaked.
- @type cellrenderer: L{gtk.CellRenderer}
- @param model: The treeview's data model.
- @type model: L{AccessibleModel}
- @param iter: The iter at the given row.
- @type iter: L{gtk.TreeIter}
- '''
- # TODO: Remove idle_add when at-spi2 reentrancy issues are fixed
- GLib.idle_add(self._accCellDataFuncReal, tvc, cellrenderer, model, iter_id)
-
- def _accCellDataFuncReal(self, tvc, cellrenderer, model, iter_id):
- '''
- Called by _acCellDataFunc when idle
-
@param tvc: A treeview column.
@type tvc: L{gtk.TreeViewColumn}
@param cellrenderer: The cellrenderer that needs to be tweaked.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]