* src/DisplayState.py (push): Typo.

svn: r5662
This commit is contained in:
Alex Roitman 2006-01-03 23:51:20 +00:00
parent 5f5355d356
commit 4a4e310948
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,6 @@
2006-01-03 Alex Roitman <shura@gramps-project.org>
* src/DisplayState.py (push): Typo.
2006-01-03 Don Allingham <don@gramps-project.org>
* src/FamilyView.py: new format

View File

@ -92,11 +92,9 @@ class History(GrampsDb.GrampsDBCallback):
self.prune()
if len(self.history) == 0 or person_handle != self.history[-1]:
self.history.append(person_handle)
if person_handle not in self.mhistory:
self.mhistory.append(person_handle)
else:
if person_handle in self.mhistory:
self.mhistory.remove(person_handle)
self.mhistory.push(person_handle)
self.mhistory.append(person_handle)
self.index += 1
self.emit('menu-changed',(self.mhistory,))
self.emit('changed',(self.history,))