diff --git a/gramps/gui/clipboard.py b/gramps/gui/clipboard.py index 83215336c..bc3045887 100644 --- a/gramps/gui/clipboard.py +++ b/gramps/gui/clipboard.py @@ -44,7 +44,7 @@ from gi.repository import GdkPixbuf # gramps modules # #------------------------------------------------------------------------- -from gramps.gen.const import IMAGE_DIR, URL_MANUAL_PAGE, GRAMPS_LOCALE as glocale +from gramps.gen.const import IMAGE_DIR, URL_MANUAL_PAGE from gramps.gen.config import config from gramps.gen.lib import NoteType from gramps.gen.datehandler import get_date diff --git a/gramps/gui/displaystate.py b/gramps/gui/displaystate.py index c6117a5e7..58737f75e 100644 --- a/gramps/gui/displaystate.py +++ b/gramps/gui/displaystate.py @@ -28,8 +28,6 @@ #------------------------------------------------------------------------- import os from io import StringIO -from gramps.gen.const import GRAMPS_LOCALE as glocale -_ = glocale.translation.gettext #------------------------------------------------------------------------- # @@ -54,6 +52,8 @@ from gi.repository import GLib # Gramps modules # #------------------------------------------------------------------------- +from gramps.gen.const import GRAMPS_LOCALE as glocale +_ = glocale.translation.gettext from gramps.gen.utils.callback import Callback from .utils import process_pending_events from .views.navigationview import NavigationView @@ -249,7 +249,6 @@ _RCT_TOP = '