* src/Marriage.py: proper window management on delete event.

* src/RelLib.py (Event.are_equal): Correction.
* src/Date.py (is_empty): Require empty text for a date to be empty.
* src/WriteXML (write_object): Remove places from Media.
* src/GrampsDbBase.py (undo): Typos.
* src/GrampsDBCallback: Pretty printing for warnings.


svn: r4297
This commit is contained in:
Alex Roitman
2005-04-05 04:33:11 +00:00
parent e5cd5c0e3d
commit 4dc68a517c
7 changed files with 60 additions and 44 deletions

@@ -464,9 +464,9 @@ class Date:
def is_empty(self):
"""
Returns True if the date is a date range or a date span.
Returns True if the date contains no information (empty text).
"""
return self.modifier == MOD_TEXTONLY
return self.modifier == MOD_TEXTONLY and not self.text
def is_compound(self):
"""