6112: use get_indices method on TreePath for "old" Gtk version (e.g, 3.6.1)
svn: r20903
This commit is contained in:
		@@ -250,7 +250,7 @@ def update_rows(model, path, iter, user_data):
 | 
			
		||||
    """
 | 
			
		||||
    #path: (8,)   iter: <GtkTreeIter at 0xbfa89fa0>
 | 
			
		||||
    #path: (8, 0) iter: <GtkTreeIter at 0xbfa89f60>
 | 
			
		||||
    if len(path) == 2:
 | 
			
		||||
    if len(path.get_indices()) == 2:
 | 
			
		||||
        row = model[path]
 | 
			
		||||
        row[0] = user_data
 | 
			
		||||
        model.row_changed(path, iter)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user