2006-10-02 Don Allingham <don@gramps-project.org>
* src/Selectors/_SelectPlace.py: use proper column for place handle * src/DisplayModels/_PlaceModel.py: specify place handle svn: r7341
This commit is contained in:
parent
fbdbdc7379
commit
c84ec006ab
@ -1,3 +1,7 @@
|
||||
2006-10-02 Don Allingham <don@gramps-project.org>
|
||||
* src/Selectors/_SelectPlace.py: use proper column for place handle
|
||||
* src/DisplayModels/_PlaceModel.py: specify place handle
|
||||
|
||||
2006-10-01 Don Allingham <don@gramps-project.org>
|
||||
* src/Utils.py: catch divide by zero case
|
||||
* src/ViewManager.py: change change to same page (#410)
|
||||
|
@ -57,6 +57,8 @@ from _BaseModel import BaseModel
|
||||
#-------------------------------------------------------------------------
|
||||
class PlaceModel(BaseModel):
|
||||
|
||||
HANDLE_COL = 12
|
||||
|
||||
def __init__(self,db,scol=0,order=gtk.SORT_ASCENDING,search=None,
|
||||
skip=set(), sort_map=None):
|
||||
self.gen_cursor = db.get_place_cursor
|
||||
|
@ -58,4 +58,4 @@ class SelectPlace(BaseSelector):
|
||||
return self.db.get_place_from_handle
|
||||
|
||||
def get_handle_column(self):
|
||||
return 11
|
||||
return PlaceModel.HANDLE_COL
|
||||
|
Loading…
Reference in New Issue
Block a user