* src/GrampsCfg.py (get_researcher): Remove old usage.

svn: r9105
This commit is contained in:
Alex Roitman 2007-10-08 19:00:28 +00:00
parent 7b6d8b5146
commit e5fb6a7c40
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2007-10-08 Alex Roitman <shura@gramps-project.org>
* src/GrampsCfg.py (get_researcher): Remove old usage.
* src/gen/db/dbdir.py (__close_metadata): Store tuple;
(_load_metadata): Load from tuple;
* src/gen/db/base.py (GrampsDbBase.set_researcher): Move details

View File

@ -85,7 +85,15 @@ def get_researcher():
e = Config.get(Config.RESEARCHER_EMAIL)
owner = gen.lib.Researcher()
owner.set(n, a, c, s, ct, p, ph, e)
owner.set_name(n)
owner.set_address(a)
owner.set_city(c)
owner.set_street(s)
owner.set_country(ct)
owner.set_postal(p)
owner.set_phone(ph)
owner.set_email(e)
return owner
#-------------------------------------------------------------------------