[accerciser] Fix for bug #671325 - Unexpected behaviours in 'Hide/Show applications with <0 children' feature
- From: Javier HernÃndez AntÃnez <jhernandez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accerciser] Fix for bug #671325 - Unexpected behaviours in 'Hide/Show applications with <0 children' feature
- Date: Sun, 4 Mar 2012 22:44:14 +0000 (UTC)
commit f0af82dcf9c7481168465dc7bccbe5d0f5ce0b88
Author: Javier HernÃndez <jhernandez emergya com>
Date: Sun Mar 4 23:30:52 2012 +0100
Fix for bug #671325 - Unexpected behaviours in 'Hide/Show applications with <0 children' feature
src/lib/accerciser/accessible_treeview.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/accerciser/accessible_treeview.py b/src/lib/accerciser/accessible_treeview.py
index 2af2b98..ac34bbc 100644
--- a/src/lib/accerciser/accessible_treeview.py
+++ b/src/lib/accerciser/accessible_treeview.py
@@ -241,7 +241,7 @@ class AccessibleModel(gtk.TreeStore, Tools):
children_ids = []
for i in xrange(accessible.childCount):
child = accessible.getChildAtIndex(i)
- if child.childCount > 0:
+ if child.childCount > 0 or child.getRoleName() != 'application':
children_ids.append(i)
return children_ids
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]