* src/EventEdit.py (__init__): Only define translated name if the

event is not empty.
* doc/gramps-manual/C/gramps-manual.xml: Update manual.
* doc/gramps-manual/C/mainwin.xml: Update manual.
* doc/gramps-manual/C/faq.xml: Add to CVS.
* doc/gramps-manual/C/keybind.xml: Add to CVS.
* doc/gramps-manual/C/Makefile.am: Add new files to the distribution.


svn: r2404
This commit is contained in:
Alex Roitman
2003-11-30 05:47:59 +00:00
parent 3da8a885a1
commit d8fc0f4cbf
7 changed files with 379 additions and 14 deletions

View File

@ -78,6 +78,12 @@ class EventEditor:
if not self.witnesslist:
self.witnesslist = []
self.date = Date.Date(self.event.getDateObj())
transname = const.display_event(event.getName())
# add the name to the list if it is not already there. This tends to occur
# in translated languages with the 'Death' event, which is a partial match
# to other events
if not transname in list:
list.append(transname)
else:
self.srcreflist = []
self.witnesslist = []
@ -134,15 +140,6 @@ class EventEditor:
self.top.get_widget('edit_witness'),
self.top.get_widget('del_witness'))
transname = const.display_event(event.getName())
# add the name to the list if it is not already there. This tends to occur
# in translated languages with the 'Death' event, which is a partial match
# to other events
if not transname in list:
list.append(transname)
AutoComp.AutoCombo(self.event_menu,list)
AutoComp.AutoEntry(self.place_field,self.pmap.keys())