* src/data/gramps.schemas: Place dont-ask key into interface dir.

* src/Marriage.py (did_data_change): Compare gramps_id, not handle.


svn: r4144
This commit is contained in:
Alex Roitman 2005-03-09 16:25:15 +00:00
parent 38183c6024
commit 3ccc11f763
3 changed files with 6 additions and 3 deletions

View File

@ -2,6 +2,9 @@
* src/PedView.py: Import RelLib for accessing relationship constants.
* src/NameEdit.py: Use empty Date for newly created name.
* src/data/gramps.schemas: Place dont-ask key into interface dir.
* src/Marriage.py (did_data_change): Compare gramps_id, not handle.
2005-03-08 Don Allingham <don@gramps-project.org>
* src/ChooseParents.py: change _nsort to _model
* src/GrampsBSDDB.py: fix event secondary index function to that

View File

@ -563,7 +563,7 @@ class Marriage:
idval = unicode(self.gid.get_text())
if idval == "":
idval = None
if self.family.get_handle() != idval:
if self.family.get_gramps_id() != idval:
changed = 1
date = unicode(self.lds_date.get_text())

View File

@ -43,8 +43,8 @@
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/dont-ask</key>
<applyto>/apps/gramps/preferences/dont-ask</applyto>
<key>/schemas/apps/gramps/interface/dont-ask</key>
<applyto>/apps/gramps/interface/dont-ask</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>