9795: remember the last location of windows [Reorder]
This commit is contained in:
parent
3b4ceeb630
commit
f3053b19ca
@ -6,8 +6,6 @@
|
||||
<property name="visible">False</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">12</property>
|
||||
<property name="default_width">500</property>
|
||||
<property name="default_height">400</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox21">
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user