diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 5afb317c6..707f2fc00 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-05-05 Don Allingham + * src/ViewManager.py: Add undo history menu entry + 2006-05-04 Alex Roitman * src/Makefile.am (gdir_PYTHON): Remove DisplayTabs.py. diff --git a/gramps2/src/ViewManager.py b/gramps2/src/ViewManager.py index 8a21f7db9..09b8ab49b 100644 --- a/gramps2/src/ViewManager.py +++ b/gramps2/src/ViewManager.py @@ -107,6 +107,7 @@ uidefault = ''' + @@ -358,6 +359,7 @@ class ViewManager: self._undo_action_list = [ ('Undo', gtk.STOCK_UNDO, _('_Undo'),'z', None, self.undo), + ('UndoHistory', 'stock_undo-history', _('_Undo History'), None, None, self.undo_history), ] self._redo_action_list = [ @@ -1004,6 +1006,9 @@ class ViewManager: def redo(self, obj): self.state.db.redo() + def undo_history(self, obj): + print "UNDO HISTORY" + def export_data(self, obj): import Exporter Exporter.Exporter(self.state, self.uistate)