* src/EventEdit.py: don't report the false "new event added" message

svn: r5928
This commit is contained in:
Don Allingham 2006-02-13 03:58:25 +00:00
parent f5f6442504
commit 312044b831
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,5 @@
2006-02-12 Don Allingham <don@gramps-project.org>
* src/EventEdit.py: don't report the false "new event added" message
* src/EditPerson.py: display LDS temple correctly
* src/plugins/NavWebpage.py: print nickname

View File

@ -346,13 +346,13 @@ class EventEditor:
edesc = unicode(self.descr_field.get_text())
epriv = self.priv.get_active()
if ename not in self.elist + [_("Birth") , _("Death")]:
WarningDialog(
_('New event type created'),
_('The "%s" event type has been added to this database.\n'
'It will now appear in the event menus for this database') % ename)
self.elist.append(ename)
self.elist.sort()
# if ename not in self.elist + [_("Birth") , _("Death")]:
# WarningDialog(
# _('New event type created'),
# _('The "%s" event type has been added to this database.\n'
# 'It will now appear in the event menus for this database') % ename)
# self.elist.append(ename)
# self.elist.sort()
if self.event == None:
self.event = RelLib.Event()