* src/GrampsDb/_ReadXML.py (start_attribute): Support attributes

in event and eventref;
	(stop_cause): Create attribute on cause tag.
	* src/Editors/_EditEventRef.py (_create_tabbed_pages): Typos.
	* src/Editors/_EditEvent.py (_create_tabbed_pages): Typo.
	* data/grampsxml.rng: Document XML changes (xml 1.1.2).
	* data/grampsxml.dtd: Document XML changes (xml 1.1.2).
	* src/GrampsDb/_WriteXML.py (dump_event_ref): Write attributes;
	(write_event): write attributes, remove cause.


svn: r7182
This commit is contained in:
Alex Roitman
2006-08-15 20:59:12 +00:00
parent bd18b2f976
commit 8f188fee5e
7 changed files with 39 additions and 15 deletions

View File

@@ -173,7 +173,7 @@ class EditEvent(EditPrimary):
self.attr_ref_list = self._add_tab(
notebook,
AttrEmbedList(self.dbstate, self.uistate, self.track,
self.source_ref.get_attribute_list()))
self.obj.get_attribute_list()))
except AttributeError:
print "Attribute list not available yet"