diff --git a/gramps/src/Config.py b/gramps/src/Config.py
index 66f64915b..743540ff8 100644
--- a/gramps/src/Config.py
+++ b/gramps/src/Config.py
@@ -54,10 +54,10 @@ from intl import gettext
_ = gettext
_surname_styles = [
- _("North American (Father's surname)"),
+ _("Father's surname"),
_("None"),
- _("Latin American (Combination of mother's and father's surname)"),
- _("Icelandic (Father's surname with son/daughter indicator"),
+ _("Latin American style (Combination of mother's and father's surname)"),
+ _("Icelandic style (Father's surname with son/daughter indicator)"),
]
_date_format_list = [
diff --git a/gramps/src/EditPerson.py b/gramps/src/EditPerson.py
index 33da954f4..423ed8af5 100644
--- a/gramps/src/EditPerson.py
+++ b/gramps/src/EditPerson.py
@@ -233,7 +233,7 @@ class EditPerson:
self.window.editable_enters(self.dplace);
if Config.autocomp:
- AutoComp.AutoComp(self.surname_field,const.surnames)
+ self.comp = AutoComp.AutoComp(self.surname_field,const.surnames)
self.gid.set_text(person.getId())
self.gid.set_editable(Config.id_edit)
diff --git a/gramps/src/Find.py b/gramps/src/Find.py
index b5fc17927..2a6f21ce1 100644
--- a/gramps/src/Find.py
+++ b/gramps/src/Find.py
@@ -58,7 +58,7 @@ class Find:
self.nlist.append(n.getPrimaryName().getName())
if Config.autocomp:
- AutoComp.AutoComp(self.entry,self.nlist)
+ self.comp = AutoComp.AutoComp(self.entry,self.nlist)
self.next = self.xml.get_widget("next")
self.top.editable_enters(self.entry)
diff --git a/gramps/src/OpenOfficeDoc.py b/gramps/src/OpenOfficeDoc.py
index 9e6e31e5a..617c543f0 100644
--- a/gramps/src/OpenOfficeDoc.py
+++ b/gramps/src/OpenOfficeDoc.py
@@ -122,7 +122,7 @@ class OpenOfficeDoc(TextDoc):
self.f.write(style_name + '.' + str(chr(ord('A')+col)) +'" ')
self.f.write('style:family="table-column">')
width = table_width * float(style.get_column_width(col)/100.0)
- width_str = cnv("%.4f",width)
+ width_str = "%.4f" % width
self.f.write('' % width_str)
self.f.write('\n')
@@ -132,8 +132,7 @@ class OpenOfficeDoc(TextDoc):
self.f.write(cell)
self.f.write('" style:family="table-cell">\n')
self.f.write('\n')
@@ -436,19 +431,17 @@ class OpenOfficeDoc(TextDoc):
self.f.write('\n')
self.f.write('\n')
self.f.write('\n')
- self.f.write('\n')
self.f.write('mcombo
Thu, 18 Oct 2001 01:59:11 GMT
- True
+ False
True
0
Birth
@@ -6763,7 +6763,7 @@ Unknown
Thu, 18 Oct 2001 01:59:26 GMT
- True
+ False
True
0
Birth
@@ -6771,14 +6771,13 @@ Unknown
- GtkCombo
- surname_combo
- False
- True
- False
- True
- False
-
+ GtkEntry
+ surname
+ True
+ True
+ True
+ 0
+
1
2
@@ -6793,23 +6792,6 @@ Unknown
True
False
-
-
- GtkEntry
- GtkCombo:entry
- childSurname
- True
-
- insert_text
- on_combo_insert_text
-
- Thu, 01 Nov 2001 02:12:35 GMT
-
- True
- True
- 0
-
-