add undo history menu item
svn: r6553
This commit is contained in:
parent
0d073b0c05
commit
0d5e4a3806
@ -1,3 +1,6 @@
|
||||
2006-05-05 Don Allingham <don@gramps-project.org>
|
||||
* src/ViewManager.py: Add undo history menu entry
|
||||
|
||||
2006-05-04 Alex Roitman <shura@gramps-project.org>
|
||||
|
||||
* src/Makefile.am (gdir_PYTHON): Remove DisplayTabs.py.
|
||||
|
@ -107,6 +107,7 @@ uidefault = '''<ui>
|
||||
</menu>
|
||||
<menu action="EditMenu">
|
||||
<menuitem action="Undo"/>
|
||||
<menuitem action="UndoHistory"/>
|
||||
<menuitem action="Redo"/>
|
||||
<separator/>
|
||||
<placeholder name="CommonEdit"/>
|
||||
@ -358,6 +359,7 @@ class ViewManager:
|
||||
|
||||
self._undo_action_list = [
|
||||
('Undo', gtk.STOCK_UNDO, _('_Undo'),'<control>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)
|
||||
|
Loading…
Reference in New Issue
Block a user