* src/DisplayModels.py: Add Date and Place columns to Media model;

Zip to Place model.
* src/MediaView.py: Support for Date and Place columns.
* src/PlaceView.py: Support for Zil column.
* src/GrampsDbBase.py (get_place_column_order,
get_media_column_order): New column defaults.


svn: r3907
This commit is contained in:
Alex Roitman
2005-01-12 13:41:54 +00:00
parent 156b885b05
commit 2b583a8e6d
5 changed files with 43 additions and 14 deletions

View File

@ -1196,7 +1196,7 @@ class GrampsDbBase:
Returns the Place display common information stored in the
database's metadata.
"""
default = [(1,1),(1,2),(0,3),(1,4),(0,5),(1,6),(0,7),(0,8),(0,9)]
default = [(1,1),(1,2),(0,3),(0,4),(1,5),(0,6),(1,7),(0,8),(0,9),(0,10)]
if self.metadata == None:
return default
else:
@ -1226,7 +1226,7 @@ class GrampsDbBase:
Returns the MediaObject display common information stored in the
database's metadata.
"""
default = [(1,1),(1,2),(1,3),(0,4)]
default = [(1,1),(0,5),(0,6),(1,2),(1,3),(0,4)]
if self.metadata == None:
return default
else:
@ -1301,4 +1301,3 @@ class Transaction:
if self.last and self.first:
return self.last - self.first + 1
return 0