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
ff99d4d020
commit
f939ce1a0d
@ -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>
|
2006-10-01 Don Allingham <don@gramps-project.org>
|
||||||
* src/Utils.py: catch divide by zero case
|
* src/Utils.py: catch divide by zero case
|
||||||
* src/ViewManager.py: change change to same page (#410)
|
* src/ViewManager.py: change change to same page (#410)
|
||||||
|
@ -57,6 +57,8 @@ from _BaseModel import BaseModel
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class PlaceModel(BaseModel):
|
class PlaceModel(BaseModel):
|
||||||
|
|
||||||
|
HANDLE_COL = 12
|
||||||
|
|
||||||
def __init__(self,db,scol=0,order=gtk.SORT_ASCENDING,search=None,
|
def __init__(self,db,scol=0,order=gtk.SORT_ASCENDING,search=None,
|
||||||
skip=set(), sort_map=None):
|
skip=set(), sort_map=None):
|
||||||
self.gen_cursor = db.get_place_cursor
|
self.gen_cursor = db.get_place_cursor
|
||||||
|
@ -58,4 +58,4 @@ class SelectPlace(BaseSelector):
|
|||||||
return self.db.get_place_from_handle
|
return self.db.get_place_from_handle
|
||||||
|
|
||||||
def get_handle_column(self):
|
def get_handle_column(self):
|
||||||
return 11
|
return PlaceModel.HANDLE_COL
|
||||||
|
Loading…
Reference in New Issue
Block a user