2007-10-06 Don Allingham <don@gramps-project.org>
* various: creation of gen.db package svn: r9091
This commit is contained in:
@@ -49,7 +49,7 @@ import gtk
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import GrampsDb
|
||||
import gen.db
|
||||
import Config
|
||||
from BasicUtils import name_displayer
|
||||
import const
|
||||
@@ -63,7 +63,7 @@ DISABLED = -1
|
||||
# History manager
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
class History(GrampsDb.GrampsDBCallback):
|
||||
class History(gen.db.GrampsDBCallback):
|
||||
""" History manages the objects of a certain type that have been viewed,
|
||||
with ability to go back, or forward.
|
||||
When accessing an object, it should be pushed on the History.
|
||||
@@ -75,7 +75,7 @@ class History(GrampsDb.GrampsDBCallback):
|
||||
}
|
||||
|
||||
def __init__(self):
|
||||
GrampsDb.GrampsDBCallback.__init__(self)
|
||||
gen.db.GrampsDBCallback.__init__(self)
|
||||
self.clear()
|
||||
|
||||
def clear(self):
|
||||
@@ -290,7 +290,7 @@ class WarnHandler(RotateHandler):
|
||||
top.run()
|
||||
top.destroy()
|
||||
|
||||
class DisplayState(GrampsDb.GrampsDBCallback):
|
||||
class DisplayState(gen.db.GrampsDBCallback):
|
||||
|
||||
__signals__ = {
|
||||
'filters-changed' : (str, ),
|
||||
@@ -306,7 +306,7 @@ class DisplayState(GrampsDb.GrampsDBCallback):
|
||||
self.uimanager = uimanager
|
||||
self.progress_monitor = progress_monitor
|
||||
self.window = window
|
||||
GrampsDb.GrampsDBCallback.__init__(self)
|
||||
gen.db.GrampsDBCallback.__init__(self)
|
||||
self.status = status
|
||||
self.status_id = status.get_context_id('GRAMPS')
|
||||
self.progress = progress
|
||||
|
Reference in New Issue
Block a user