diff --git a/ChangeLog b/ChangeLog index 6035647e1..1212d9e92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-08 Don Allingham + * src/GrampsDb/_GrampsDbBase.py (GrampsDbBookmarks.insert): fix + bookmark insertion (#1050) + * src/Editors/_EditFamily.py: fix sort columns (#1029) + 2007-05-09 Benny Malengier * src/glade/gramps.glade: fix #797 * src/glade/gramps.glade: fix #796 diff --git a/src/Editors/_EditFamily.py b/src/Editors/_EditFamily.py index 87b09db85..6d47fe603 100644 --- a/src/Editors/_EditFamily.py +++ b/src/Editors/_EditFamily.py @@ -90,14 +90,14 @@ class ChildEmbedList(EmbeddedList): _column_names = [ (_('#'),0) , (_('ID'),1) , - (_('Name'),9), + (_('Name'),11), (_('Gender'),3), - (_('Paternal'),12), - (_('Maternal'),13), - (_('Birth Date'),10), - (_('Death Date'),11), - (_('Birth Place'),6), - (_('Death Place'),7), + (_('Paternal'),4), + (_('Maternal'),5), + (_('Birth Date'),12), + (_('Death Date'),13), + (_('Birth Place'),8), + (_('Death Place'),9), ] def __init__(self, dbstate, uistate, track, family): diff --git a/src/GrampsDb/_GrampsDbBase.py b/src/GrampsDb/_GrampsDbBase.py index 460aab166..f2d23fd20 100644 --- a/src/GrampsDb/_GrampsDbBase.py +++ b/src/GrampsDb/_GrampsDbBase.py @@ -165,8 +165,8 @@ class GrampsDbBookmarks: def pop(self, item): self.bookmarks.pop(item) - def insert(self, item): - self.bookmarks.insert(item) + def insert(self, pos, item): + self.bookmarks.insert(pos, item) class GrampsDbBase(GrampsDBCallback): """