* src/DisplayModels,py: faster sorting of places

* src/PlaceView,py: faster sorting of places
* src/RelLib,py: faster sorting of places
* src/gramp_main.py: removed new database info message


svn: r3217
This commit is contained in:
Don Allingham
2004-06-20 03:06:21 +00:00
parent 18fecafb91
commit ab131c3f0c
8 changed files with 48 additions and 53 deletions

View File

@@ -51,7 +51,8 @@ class BaseModel(gtk.GenericTreeModel):
return
val = 0
for place_id in self.sort_keys():
keys = self.sort_keys()
for place_id in keys:
self.iter2path[place_id] = (val,)
self.path2iter[(val,)] = place_id
val += 1