From 72d95241bc02b3b349556e49afee378bd8d5b1a2 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 10 Mar 2006 21:13:48 +0000 Subject: [PATCH] icon fixes svn: r6130 --- gramps2/src/DataViews/_FamilyList.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gramps2/src/DataViews/_FamilyList.py b/gramps2/src/DataViews/_FamilyList.py index 6c48d13d3..f60081a07 100644 --- a/gramps2/src/DataViews/_FamilyList.py +++ b/gramps2/src/DataViews/_FamilyList.py @@ -74,6 +74,7 @@ class FamilyListView(PageView.ListView): column_names,len(column_names), DisplayModels.FamilyModel, signal_map) + self.updating = False def column_order(self): return self.dbstate.db.get_family_list_column_order() @@ -121,7 +122,16 @@ class FamilyListView(PageView.ListView): pass def family_add(self,handle_list): + while not self.redraw(handle_list): + pass + + def redraw(self,handle_list): + if self.updating: + return False + self.updating = True self.row_add(handle_list) + self.updating = False + return True def remove(self,obj): return