* src/GrampsCfg.py (get_researcher): Remove old usage.
svn: r9105
This commit is contained in:
parent
7b6d8b5146
commit
e5fb6a7c40
@ -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
|
||||
|
@ -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
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user