diff --git a/gramps/gui/logger/_errorreportassistant.py b/gramps/gui/logger/_errorreportassistant.py index cfda877b5..4f433a9c7 100644 --- a/gramps/gui/logger/_errorreportassistant.py +++ b/gramps/gui/logger/_errorreportassistant.py @@ -46,7 +46,7 @@ else: # #------------------------------------------------------------------------- from gramps.gen.const import VERSION, ICON, SPLASH -from gramps.gui.display import display_help, display_url +from ..display import display_help, display_url #------------------------------------------------------------------------- # diff --git a/gramps/gui/logger/_errorview.py b/gramps/gui/logger/_errorview.py index 0e2dc61f3..43f6549cd 100644 --- a/gramps/gui/logger/_errorview.py +++ b/gramps/gui/logger/_errorview.py @@ -35,7 +35,7 @@ from gi.repository import Gtk from gramps.gen.const import URL_MANUAL_PAGE from gramps.gen.ggettext import sgettext as _ from _errorreportassistant import ErrorReportAssistant -from gramps.gui.display import display_help +from ..display import display_help #------------------------------------------------------------------------- # diff --git a/gramps/gui/plug/_guioptions.py b/gramps/gui/plug/_guioptions.py index 02b6ca70e..69f9b02c4 100644 --- a/gramps/gui/plug/_guioptions.py +++ b/gramps/gui/plug/_guioptions.py @@ -1760,7 +1760,7 @@ class GuiStyleOption(GuiEnumeratedListOption): style sheet editor object and let them play. When they are done, update the displayed styles.""" from gramps.gen.plug.docgen import StyleSheetList - from gramps.gui.plug.report._styleeditor import StyleListDisplay + from report._styleeditor import StyleListDisplay style_list = StyleSheetList(self.__option.get_style_file(), self.__option.get_default_style()) StyleListDisplay(style_list, None, None) diff --git a/gramps/gui/plug/_windows.py b/gramps/gui/plug/_windows.py index af918acb2..d2ec2bb66 100644 --- a/gramps/gui/plug/_windows.py +++ b/gramps/gui/plug/_windows.py @@ -291,7 +291,7 @@ class PluginStatus(ManagedWindow): Reloads the addons from the wiki into the list. """ import urllib - from gramps.gui.utils import ProgressMeter + from ..utils import ProgressMeter URL = "%s%s" % (URL_WIKISTRING, WIKI_EXTRAPLUGINS_RAWDATA) try: fp = urllib.urlopen(URL) @@ -376,7 +376,7 @@ class PluginStatus(ManagedWindow): Get all addons from the wiki and install them. """ import urllib - from gramps.gui.utils import ProgressMeter + from ..utils import ProgressMeter pm = ProgressMeter(_("Install all Addons"), _("Installing..."), message_area=True) pm.set_pass(total=len(self.addon_model)) for row in self.addon_model: @@ -393,7 +393,7 @@ class PluginStatus(ManagedWindow): """ Toplevel method to get an addon. """ - from gramps.gui.utils import ProgressMeter + from ..utils import ProgressMeter pm = ProgressMeter(_("Installing Addon"), message_area=True) pm.set_pass(total=2, header=_("Reading gramps-project.org...")) pm.step() @@ -869,7 +869,7 @@ class ToolManagedWindowBase(ManagedWindow): buffer.set_text("") def pre_run(self): - from gramps.gui.utils import ProgressMeter + from ..utils import ProgressMeter self.progress = ProgressMeter(self.get_title()) def run(self):