diff --git a/gramps/gui/plug/quick/_textbufdoc.py b/gramps/gui/plug/quick/_textbufdoc.py index cefea83e0..4ba7b378c 100644 --- a/gramps/gui/plug/quick/_textbufdoc.py +++ b/gramps/gui/plug/quick/_textbufdoc.py @@ -61,7 +61,8 @@ class DisplayBuf(ManagedWindow): buttons=(_('_Close'), Gtk.ResponseType.CLOSE)), None, title, True) - self.window.set_size_request(600,400) + self.setup_configs('interface.' + title.lower().replace(' ', ''), + 600, 400) scrolled_window = Gtk.ScrolledWindow() scrolled_window.set_policy(Gtk.PolicyType.AUTOMATIC,Gtk.PolicyType.AUTOMATIC) document.text_view = Gtk.TextView() diff --git a/gramps/plugins/tool/check.glade b/gramps/plugins/tool/check.glade index c5b206e23..a75954a41 100644 --- a/gramps/plugins/tool/check.glade +++ b/gramps/plugins/tool/check.glade @@ -4,8 +4,6 @@ False - 450 - 400 dialog diff --git a/gramps/plugins/tool/check.py b/gramps/plugins/tool/check.py index a12878c73..2f7183e89 100644 --- a/gramps/plugins/tool/check.py +++ b/gramps/plugins/tool/check.py @@ -173,7 +173,7 @@ class Check(tool.BatchTool): # We only do this for the dbdir backend. if self.db.__class__.__name__ == 'DbBsddb': if cross_table_duplicates(self.db, uistate): - Report(uistate, _( + CheckReport(uistate, _( "Your Family Tree contains cross table duplicate handles." "\n " "This is bad and can be fixed by making a backup of your\n" @@ -229,7 +229,7 @@ class Check(tool.BatchTool): errs = checker.build_report(uistate) if errs: - Report(uistate, checker.text.getvalue(), cli) + CheckReport(uistate, checker.text.getvalue(), cli) # ------------------------------------------------------------------------- @@ -2667,7 +2667,7 @@ class CheckIntegrity: # Display the results # # ------------------------------------------------------------------------- -class Report(ManagedWindow): +class CheckReport(ManagedWindow): """ Report out the results """ def __init__(self, uistate, text, cli=0): if cli: @@ -2686,6 +2686,7 @@ class Report(ManagedWindow): # topdialog.get_widget("title"), topdialog.get_object("title"), _("Integrity Check Results")) + self.setup_configs('interface.checkreport', 450, 400) self.show()