* src/accent.py: provide sorting on i18n characters without

accents
* src/Makefile.am: add accent.py to list


svn: r3433
This commit is contained in:
Don Allingham
2004-08-19 02:37:35 +00:00
parent 7d338c8a43
commit 44870279d4
10 changed files with 285 additions and 44 deletions

View File

@@ -107,11 +107,9 @@ class BaseModel(gtk.GenericTreeModel):
return 0
def on_iter_nth_child(self,node,n):
path = self.iter2path.get(node)
if path:
return self.path2iter.get((node,n))
else:
return None
if node == None:
return self.path2iter.get((n,))
return None
def on_iter_parent(self, node):
'''returns the parent of this node'''