Patch from James G. Sack <jgsack@san.rr.com>: 0001187: Runaway Gramps XML file sizes

svn: r9033
This commit is contained in:
Brian Matherly 2007-09-29 03:32:44 +00:00
parent 91d13e3f46
commit 6df5468852
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-09-28 James G. Sack <jgsack@san.rr.com>
* src/RecentFiles.py:
* src/GrampsDb/_GrampsDbBase.py:
0001187: Runaway Gramps XML file sizes
2007-09-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/FilterEditor/_EditRule.py: wrong filter selection, bug #807
Based on work Johan

View File

@ -150,8 +150,8 @@ class GrampsCursor:
pass
class GrampsDbBookmarks:
def __init__(self, default = []):
self.bookmarks = default
def __init__(self, default=[]):
self.bookmarks = list(default) # want a copy (not an alias)
def set(self, new_list):
self.bookmarks = new_list

View File

@ -65,7 +65,7 @@ class GnomeRecentItem:
self.mime = m
self.time = t
self.private = p
self.groups = g
self.groups = list(g) # want a copy (not an alias)
def set_uri(self,val):
self.uri = val