Fixed update after adding additional data to a new child

svn: r773
This commit is contained in:
Don Allingham 2002-02-14 06:04:47 +00:00
parent 11df129422
commit 1fe4d3f7e0
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -895,7 +895,7 @@
<value_in_list>False</value_in_list>
<ok_if_empty>True</ok_if_empty>
<case_sensitive>False</case_sensitive>
<use_arrows>True</use_arrows>
<use_arrows>False</use_arrows>
<use_arrows_always>False</use_arrows_always>
<items></items>
<child>

View File

@ -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)