icon fixes

svn: r6130
This commit is contained in:
Don Allingham 2006-03-10 21:13:48 +00:00
parent 7eaa8084d9
commit 72d95241bc

View File

@ -74,6 +74,7 @@ class FamilyListView(PageView.ListView):
column_names,len(column_names), column_names,len(column_names),
DisplayModels.FamilyModel, DisplayModels.FamilyModel,
signal_map) signal_map)
self.updating = False
def column_order(self): def column_order(self):
return self.dbstate.db.get_family_list_column_order() return self.dbstate.db.get_family_list_column_order()
@ -121,7 +122,16 @@ class FamilyListView(PageView.ListView):
pass pass
def family_add(self,handle_list): 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.row_add(handle_list)
self.updating = False
return True
def remove(self,obj): def remove(self,obj):
return return