From 9cbb58af2759449d6c904f53f641cdc3ced12118 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 18 Sep 2009 23:05:06 +0000 Subject: [PATCH] Code cleanup svn: r13222 --- src/plugins/Records.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/plugins/Records.py b/src/plugins/Records.py index 9827c6fd1..1a7171bb6 100644 --- a/src/plugins/Records.py +++ b/src/plugins/Records.py @@ -326,19 +326,11 @@ class RecordsGramplet(Gramplet): self.set_tooltip(_("Double-click name for details")) self.set_text(_("No Family Tree loaded.")) - def db_changed(self): - self.update() - #self.dbstate.db.connect('person-add', self.update) - #self.dbstate.db.connect('person-delete', self.update) - #self.dbstate.db.connect('person-update', self.update) - #self.dbstate.db.connect('family-add', self.update) - #self.dbstate.db.connect('family-delete', self.update) - #self.dbstate.db.connect('family-update', self.update) - + self.dbstate.db.connect('person-rebuild', self.update) + self.dbstate.db.connect('family-rebuild', self.update) def main(self): - self.set_text(_("Processing...") + "\n") yield True records = _find_records(self.dbstate.db, None,