9795: remember the last location of windows [ViewConfigureDialog]

This commit is contained in:
Paul Franklin 2016-12-06 18:59:23 -08:00
parent 413da833ca
commit a3925313ad
2 changed files with 2 additions and 1 deletions

View File

@ -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()

View File

@ -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)