9795: remember the last location of windows [ViewConfigureDialog]
This commit is contained in:
parent
413da833ca
commit
a3925313ad
@ -178,7 +178,6 @@ class ConfigureDialog(ManagedWindow):
|
|||||||
Gtk.Dialog(dialogtitle,
|
Gtk.Dialog(dialogtitle,
|
||||||
buttons=(_('_Close'), Gtk.ResponseType.CLOSE)),
|
buttons=(_('_Close'), Gtk.ResponseType.CLOSE)),
|
||||||
None, dialogtitle, None)
|
None, dialogtitle, None)
|
||||||
self.setup_configs('interface.configuredialog', 920, 450)
|
|
||||||
self.panel = Gtk.Notebook()
|
self.panel = Gtk.Notebook()
|
||||||
self.panel.set_scrollable(True)
|
self.panel.set_scrollable(True)
|
||||||
self.window.vbox.pack_start(self.panel, True, True, 0)
|
self.window.vbox.pack_start(self.panel, True, True, 0)
|
||||||
@ -503,6 +502,7 @@ class GrampsPreferences(ConfigureDialog):
|
|||||||
ConfigureDialog.__init__(self, uistate, dbstate, page_funcs,
|
ConfigureDialog.__init__(self, uistate, dbstate, page_funcs,
|
||||||
GrampsPreferences, config,
|
GrampsPreferences, config,
|
||||||
on_close=update_constants)
|
on_close=update_constants)
|
||||||
|
self.setup_configs('interface.grampspreferences', 920, 450)
|
||||||
|
|
||||||
def add_researcher_panel(self, configdialog):
|
def add_researcher_panel(self, configdialog):
|
||||||
grid = Gtk.Grid()
|
grid = Gtk.Grid()
|
||||||
|
@ -592,6 +592,7 @@ class ViewConfigureDialog(ConfigureDialog):
|
|||||||
ConfigureDialog.__init__(self, uistate, dbstate, configure_page_funcs,
|
ConfigureDialog.__init__(self, uistate, dbstate, configure_page_funcs,
|
||||||
configobj, configmanager,
|
configobj, configmanager,
|
||||||
dialogtitle=dialogtitle, on_close=on_close)
|
dialogtitle=dialogtitle, on_close=on_close)
|
||||||
|
self.setup_configs('interface.viewconfiguredialog', 420, 500)
|
||||||
|
|
||||||
def build_menu_names(self, obj):
|
def build_menu_names(self, obj):
|
||||||
return (_('Configure %s View') % self.ident, None)
|
return (_('Configure %s View') % self.ident, None)
|
||||||
|
Loading…
Reference in New Issue
Block a user