* src/PlaceView.py (on_delete_clicked): Use list's copy to avoid

modifying the real EventList (closes # 875332).
* src/paper.xml: Remove from CVS (superseded by papersize.xml).


svn: r2630
This commit is contained in:
Alex Roitman 2004-01-12 18:56:02 +00:00
parent 1f73f81b17
commit cb5fa58baf
3 changed files with 7 additions and 15 deletions

View File

@ -1,3 +1,8 @@
2004-01-12 Alex Roitman <shura@alex.neuro.umn.edu>
* src/PlaceView.py (on_delete_clicked): Use list's copy to avoid
modifying the real EventList (closes # 875332).
* src/paper.xml: Remove from CVS (superseded by papersize.xml).
2004-01-11 Don Allingham <dallingham@users.sourceforge.net>
* src/Makefile.am: export papersize.xml
* src/RelLib.py: Don't call setAncestor if default person is None

View File

@ -208,7 +208,7 @@ class PlaceView:
used = 0
for key in self.db.getPersonKeys():
p = self.db.getPerson(key)
event_list = [p.getBirth(), p.getDeath()] + p.getEventList()
event_list = [p.getBirth(), p.getDeath()] + p.getEventList()[:]
if p.getLdsBaptism():
event_list.append(p.getLdsBaptism())
if p.getLdsEndowment():
@ -220,7 +220,7 @@ class PlaceView:
used = 1
for f in self.db.getFamilyMap().values():
event_list = f.getEventList()
event_list = f.getEventList()[:]
if f.getLdsSeal():
event_list.append(f.getLdsSeal())
for event in event_list:

View File

@ -1,13 +0,0 @@
<?xml version="1.0"?>
<paper>
<page name="Letter" height="21.59" width="27.94"/>
<page name="Legal" height="35.56" width="21.59"/>
<page name="A3" height="42.0" width="29.7"/>
<page name="A4" height="29.7" width="21.0"/>
<page name="A5" height="21.0" width="14.8"/>
<page name="B4" height="35.3" width="25.0"/>
<page name="B6" height="17.6" width="12.5"/>
<page name="C4" height="32.4" width="22.9"/>
<page name="C5" height="22.9" width="16.2"/>
<page name="C6" height="16.2" width="11.4"/>
</paper>