Retracting date warnings

svn: r1574
This commit is contained in:
Alex Roitman
2003-05-22 12:24:12 +00:00
parent 685038c3ad
commit 055e1d802d
2 changed files with 0 additions and 39 deletions

View File

@ -204,18 +204,6 @@ class EventEditor:
ename = self.name_field.get_text()
self.date.set(self.date_field.get_text())
if self.date.start.year == Calendar.UNDEF:
if self.date.start.month == Calendar.UNDEF:
if self.date.start.day == Calendar.UNDEF:
if self.date_field.get_text():
WarningDialog(_("Unrecognized date"),
_('The text "%s" you have entered into the date '
'field did not match any known date format and will '
'not be recorded.\n\n'
'If you want to store textual description of this '
'date (such as "during War"), '
'use the Note tab instead of the Date field.')
% self.date_field.get_text() )
ecause = self.cause_field.get_text()
eplace_obj = self.get_place(self.place_field,1)
buf = self.note_field.get_buffer()