* src/DisplayState.py: Manage history on db change

* src/Navigation.py: Manage history on db change


svn: r5918
This commit is contained in:
Don Allingham
2006-02-10 05:36:32 +00:00
parent ebba95652f
commit 9617f77079
4 changed files with 16 additions and 4 deletions

View File

@ -46,11 +46,14 @@ class BaseNavigation:
def __init__(self,uistate,history,title):
self.title = title
self.ui = _top+_btm
history.connect('menu-changed', self.update_menu)
self.uistate = uistate
self.action_group = gtk.ActionGroup(self.title)
self.active = DISABLED
self.uistate = uistate
self.items = []
self.history = history
def clear(self):
self.history.clear()
def disable(self):
"""