From f3053b19ca3178c735a8447a07469062d294693f Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Fri, 23 Dec 2016 12:52:58 -0800 Subject: [PATCH] 9795: remember the last location of windows [Reorder] --- gramps/gui/glade/reorder.glade | 2 -- gramps/gui/widgets/reorderfam.py | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gramps/gui/glade/reorder.glade b/gramps/gui/glade/reorder.glade index e7130c646..e6507dd7b 100644 --- a/gramps/gui/glade/reorder.glade +++ b/gramps/gui/glade/reorder.glade @@ -6,8 +6,6 @@ False False 12 - 500 - 400 dialog diff --git a/gramps/gui/widgets/reorderfam.py b/gramps/gui/widgets/reorderfam.py index e85627911..03e70d92e 100644 --- a/gramps/gui/widgets/reorderfam.py +++ b/gramps/gui/widgets/reorderfam.py @@ -23,8 +23,6 @@ # Python modules # #------------------------------------------------------------------------- -from gramps.gen.const import GRAMPS_LOCALE as glocale -_ = glocale.translation.sgettext #------------------------------------------------------------------------- # @@ -45,6 +43,8 @@ _LOG = logging.getLogger("gui.widgets.reorderfam") # Gramps Modules # #------------------------------------------------------------------------- +from gramps.gen.const import GRAMPS_LOCALE as glocale +_ = glocale.translation.sgettext from gramps.gen.db import DbTxn from ..listmodel import ListModel from ..managedwindow import ManagedWindow @@ -77,6 +77,7 @@ class Reorder(ManagedWindow): fenable = len(self.family_list) > 1 self.set_window(top, None, _("Reorder Relationships")) + self.setup_configs('interface.reorder', 500, 400) self.ptree = xml.get_object('ptree') self.pmodel = ListModel(self.ptree,