accerciser r732 - in trunk: . plugins



Author: mgorse
Date: Wed Mar 11 19:42:21 2009
New Revision: 732
URL: http://svn.gnome.org/viewvc/accerciser?rev=732&view=rev

Log:
* plugins/interface_view.py: Call getindexInParent to pass the
correct index to addSelection (bug #574783).


Modified:
   trunk/ChangeLog
   trunk/plugins/interface_view.py

Modified: trunk/plugins/interface_view.py
==============================================================================
--- trunk/plugins/interface_view.py	(original)
+++ trunk/plugins/interface_view.py	Wed Mar 11 19:42:21 2009
@@ -966,7 +966,7 @@
       return
 
     model, paths = selection.get_selected_rows()
-    selected_children = [path[0] for path in paths]
+    selected_children = [model.get_value(model.get_iter(path), 2).getIndexInParent() for path in paths]
     
     for child_index in range(len(self.node.acc)):
       if child_index in selected_children:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]