GEPS008: Moved DisplayState module
svn: r19766
This commit is contained in:
parent
e82046018f
commit
300c65a256
@ -6,7 +6,6 @@ src/Assistant.py
|
|||||||
src/Bookmarks.py
|
src/Bookmarks.py
|
||||||
src/const.py
|
src/const.py
|
||||||
src/DateEdit.py
|
src/DateEdit.py
|
||||||
src/DisplayState.py
|
|
||||||
src/ExportAssistant.py
|
src/ExportAssistant.py
|
||||||
src/ExportOptions.py
|
src/ExportOptions.py
|
||||||
src/gramps.py
|
src/gramps.py
|
||||||
@ -338,6 +337,7 @@ src/gui/columnorder.py
|
|||||||
src/gui/configure.py
|
src/gui/configure.py
|
||||||
src/gui/dbloader.py
|
src/gui/dbloader.py
|
||||||
src/gui/dbman.py
|
src/gui/dbman.py
|
||||||
|
src/gui/displaystate.py
|
||||||
src/gui/filtereditor.py
|
src/gui/filtereditor.py
|
||||||
src/gui/grampsbar.py
|
src/gui/grampsbar.py
|
||||||
src/gui/grampsgui.py
|
src/gui/grampsgui.py
|
||||||
|
@ -21,7 +21,6 @@ gdir_PYTHON = \
|
|||||||
DateEdit.py\
|
DateEdit.py\
|
||||||
DbState.py\
|
DbState.py\
|
||||||
DdTargets.py\
|
DdTargets.py\
|
||||||
DisplayState.py\
|
|
||||||
Errors.py\
|
Errors.py\
|
||||||
ExportAssistant.py\
|
ExportAssistant.py\
|
||||||
ExportOptions.py\
|
ExportOptions.py\
|
||||||
|
@ -213,7 +213,7 @@ class CLIManager(object):
|
|||||||
"""
|
"""
|
||||||
# A recent database should already have a directory If not, do nothing,
|
# A recent database should already have a directory If not, do nothing,
|
||||||
# just return. This can be handled better if family tree delete/rename
|
# 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):
|
if not os.path.isdir(filename):
|
||||||
self._errordialog(
|
self._errordialog(
|
||||||
_("Could not load a recent Family Tree."),
|
_("Could not load a recent Family Tree."),
|
||||||
|
@ -26,6 +26,7 @@ pkgpython_PYTHON = \
|
|||||||
dbguielement.py \
|
dbguielement.py \
|
||||||
dbloader.py \
|
dbloader.py \
|
||||||
dbman.py \
|
dbman.py \
|
||||||
|
displaystate.py \
|
||||||
filtereditor.py \
|
filtereditor.py \
|
||||||
glade.py \
|
glade.py \
|
||||||
grampsbar.py \
|
grampsbar.py \
|
||||||
|
@ -77,7 +77,7 @@ from gui.plug.report import report
|
|||||||
from gen.plug.utils import version_str_to_tup, load_addon_file
|
from gen.plug.utils import version_str_to_tup, load_addon_file
|
||||||
from gui.pluginmanager import GuiPluginManager
|
from gui.pluginmanager import GuiPluginManager
|
||||||
import Relationship
|
import Relationship
|
||||||
import DisplayState
|
from gui.displaystate import DisplayState, RecentDocsMenu
|
||||||
import const
|
import const
|
||||||
import constfunc
|
import constfunc
|
||||||
import config
|
import config
|
||||||
@ -627,7 +627,7 @@ class ViewManager(CLIManager):
|
|||||||
self.progress_monitor = ProgressMonitor(
|
self.progress_monitor = ProgressMonitor(
|
||||||
GtkProgressDialog, ("", self.window))
|
GtkProgressDialog, ("", self.window))
|
||||||
|
|
||||||
self.uistate = DisplayState.DisplayState(
|
self.uistate = DisplayState(
|
||||||
self.window, self.statusbar, self.progress, self.warnbtn,
|
self.window, self.statusbar, self.progress, self.warnbtn,
|
||||||
self.uimanager, self.progress_monitor, self)
|
self.uimanager, self.progress_monitor, self)
|
||||||
|
|
||||||
@ -645,7 +645,7 @@ class ViewManager(CLIManager):
|
|||||||
self.uistate.set_open_widget(openbtn)
|
self.uistate.set_open_widget(openbtn)
|
||||||
self.toolbar.insert(openbtn, 0)
|
self.toolbar.insert(openbtn, 0)
|
||||||
|
|
||||||
self.recent_manager = DisplayState.RecentDocsMenu(
|
self.recent_manager = RecentDocsMenu(
|
||||||
self.uistate, self.dbstate, self._read_recent_file)
|
self.uistate, self.dbstate, self._read_recent_file)
|
||||||
self.recent_manager.build()
|
self.recent_manager.build()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user