From a3925313ad70dddd2714fc10e2c960b58118ffae Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Tue, 6 Dec 2016 18:59:23 -0800 Subject: [PATCH] 9795: remember the last location of windows [ViewConfigureDialog] --- gramps/gui/configure.py | 2 +- gramps/gui/views/pageview.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gui/configure.py b/gramps/gui/configure.py index e93daa91e..6af9f2185 100644 --- a/gramps/gui/configure.py +++ b/gramps/gui/configure.py @@ -178,7 +178,6 @@ class ConfigureDialog(ManagedWindow): Gtk.Dialog(dialogtitle, buttons=(_('_Close'), Gtk.ResponseType.CLOSE)), None, dialogtitle, None) - self.setup_configs('interface.configuredialog', 920, 450) self.panel = Gtk.Notebook() self.panel.set_scrollable(True) self.window.vbox.pack_start(self.panel, True, True, 0) @@ -503,6 +502,7 @@ class GrampsPreferences(ConfigureDialog): ConfigureDialog.__init__(self, uistate, dbstate, page_funcs, GrampsPreferences, config, on_close=update_constants) + self.setup_configs('interface.grampspreferences', 920, 450) def add_researcher_panel(self, configdialog): grid = Gtk.Grid() diff --git a/gramps/gui/views/pageview.py b/gramps/gui/views/pageview.py index 95d0960b2..254b10984 100644 --- a/gramps/gui/views/pageview.py +++ b/gramps/gui/views/pageview.py @@ -592,6 +592,7 @@ class ViewConfigureDialog(ConfigureDialog): ConfigureDialog.__init__(self, uistate, dbstate, configure_page_funcs, configobj, configmanager, dialogtitle=dialogtitle, on_close=on_close) + self.setup_configs('interface.viewconfiguredialog', 420, 500) def build_menu_names(self, obj): return (_('Configure %s View') % self.ident, None)