diff --git a/gramps/src/AutoComp.py b/gramps/src/AutoComp.py index b4af82602..c2deef801 100644 --- a/gramps/src/AutoComp.py +++ b/gramps/src/AutoComp.py @@ -25,6 +25,7 @@ strings as the possible completions. import string import gtk +import GDK cnv = string.lower @@ -104,8 +105,7 @@ class AutoCombo(AutoCompBase): def timer_callback(self,entry): """ - The workhors -e routine of file completion. This routine grabs the + The workhorse routine of file completion. This routine grabs the current text of the entry box, and grubs through the list item looking for any case insensitive matches. This routine relies on public knowledge of the GtkEntry data structure, not on any private diff --git a/gramps/src/EditPerson.glade b/gramps/src/EditPerson.glade index cb969e4a0..fda61daa7 100644 --- a/gramps/src/EditPerson.glade +++ b/gramps/src/EditPerson.glade @@ -895,7 +895,7 @@ False True False - True + False False diff --git a/gramps/src/SelectChild.py b/gramps/src/SelectChild.py index 3d8128026..8eca25aea 100644 --- a/gramps/src/SelectChild.py +++ b/gramps/src/SelectChild.py @@ -387,10 +387,13 @@ class NewChild: utils.destroy_passed_object(obj) self.new_child = person + def other_update(self,arg1,arg2): + self.update(None,self.new_child) + def on_edit_new_child(self,obj): import EditPerson self.on_addchild_ok_clicked(obj) - EditPerson.EditPerson(self.new_child,self.db) + EditPerson.EditPerson(self.new_child,self.db,self.other_update)