GEPS008: Moved DisplayState module

svn: r19766
This commit is contained in:
Nick Hall 2012-06-05 21:44:41 +00:00
parent e82046018f
commit 300c65a256
6 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,6 @@ src/Assistant.py
src/Bookmarks.py
src/const.py
src/DateEdit.py
src/DisplayState.py
src/ExportAssistant.py
src/ExportOptions.py
src/gramps.py
@ -338,6 +337,7 @@ src/gui/columnorder.py
src/gui/configure.py
src/gui/dbloader.py
src/gui/dbman.py
src/gui/displaystate.py
src/gui/filtereditor.py
src/gui/grampsbar.py
src/gui/grampsgui.py

View File

@ -21,7 +21,6 @@ gdir_PYTHON = \
DateEdit.py\
DbState.py\
DdTargets.py\
DisplayState.py\
Errors.py\
ExportAssistant.py\
ExportOptions.py\

View File

@ -213,7 +213,7 @@ class CLIManager(object):
"""
# A recent database should already have a directory If not, do nothing,
# just return. This can be handled better if family tree delete/rename
# also updated the recent file menu info in DisplayState.py
# also updated the recent file menu info in displaystate.py
if not os.path.isdir(filename):
self._errordialog(
_("Could not load a recent Family Tree."),

View File

@ -26,6 +26,7 @@ pkgpython_PYTHON = \
dbguielement.py \
dbloader.py \
dbman.py \
displaystate.py \
filtereditor.py \
glade.py \
grampsbar.py \

View File

@ -77,7 +77,7 @@ from gui.plug.report import report
from gen.plug.utils import version_str_to_tup, load_addon_file
from gui.pluginmanager import GuiPluginManager
import Relationship
import DisplayState
from gui.displaystate import DisplayState, RecentDocsMenu
import const
import constfunc
import config
@ -627,7 +627,7 @@ class ViewManager(CLIManager):
self.progress_monitor = ProgressMonitor(
GtkProgressDialog, ("", self.window))
self.uistate = DisplayState.DisplayState(
self.uistate = DisplayState(
self.window, self.statusbar, self.progress, self.warnbtn,
self.uimanager, self.progress_monitor, self)
@ -645,7 +645,7 @@ class ViewManager(CLIManager):
self.uistate.set_open_widget(openbtn)
self.toolbar.insert(openbtn, 0)
self.recent_manager = DisplayState.RecentDocsMenu(
self.recent_manager = RecentDocsMenu(
self.uistate, self.dbstate, self._read_recent_file)
self.recent_manager.build()