From 2347aeeaeb6744e2c39ce3ad6a7bee49c228c789 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 4 Jan 2009 17:41:33 +0000 Subject: [PATCH] Added yield statements to update screen more often svn: r11564 --- src/plugins/Records.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/Records.py b/src/plugins/Records.py index 3ad672468..6e4648428 100644 --- a/src/plugins/Records.py +++ b/src/plugins/Records.py @@ -340,10 +340,12 @@ class RecordsGramplet(Gramplet): def main(self): self.set_text(_("Processing...") + "\n") + yield True records = _find_records(self.dbstate.db, None, RecordsReportOptions.CALLNAME_DONTUSE) self.set_text("") for (text, varname, top) in records: + yield True self.render_text("%s" % text) last_value = None rank = 0 @@ -356,6 +358,7 @@ class RecordsGramplet(Gramplet): self.append_text(" (%s)" % _output(value)) self.append_text("\n") self.append_text("", scroll_to='begin') + yield False #------------------------------------------------------------------------