* various: change try_to_find_*_from_handle to
get_*_from_handle svn: r3355
This commit is contained in:
@@ -37,6 +37,16 @@ import os
|
||||
from gettext import gettext as _
|
||||
from TransTable import TransTable
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Mime Types
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
app_gramps = "application/x-gramps"
|
||||
app_gramps_xml = "application/x-gramps-xml"
|
||||
app_gedcom = "application/x-gedcom"
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Paths to external programs
|
||||
@@ -473,12 +483,6 @@ family_relations = [
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
def relationship_def(txt):
|
||||
if _frel2def.has_key(txt):
|
||||
return _frel2def[txt]
|
||||
else:
|
||||
return _("No definition available")
|
||||
|
||||
def display_frel(st):
|
||||
return family_relations.find_value(st)
|
||||
|
||||
|
Reference in New Issue
Block a user