Fixed update after adding additional data to a new child
svn: r773
This commit is contained in:
parent
11df129422
commit
1fe4d3f7e0
@ -25,6 +25,7 @@ strings as the possible completions.
|
|||||||
|
|
||||||
import string
|
import string
|
||||||
import gtk
|
import gtk
|
||||||
|
import GDK
|
||||||
|
|
||||||
cnv = string.lower
|
cnv = string.lower
|
||||||
|
|
||||||
@ -104,8 +105,7 @@ class AutoCombo(AutoCompBase):
|
|||||||
|
|
||||||
def timer_callback(self,entry):
|
def timer_callback(self,entry):
|
||||||
"""
|
"""
|
||||||
The workhors
|
The workhorse routine of file completion. This routine grabs the
|
||||||
e routine of file completion. This routine grabs the
|
|
||||||
current text of the entry box, and grubs through the list item
|
current text of the entry box, and grubs through the list item
|
||||||
looking for any case insensitive matches. This routine relies on
|
looking for any case insensitive matches. This routine relies on
|
||||||
public knowledge of the GtkEntry data structure, not on any private
|
public knowledge of the GtkEntry data structure, not on any private
|
||||||
|
@ -895,7 +895,7 @@
|
|||||||
<value_in_list>False</value_in_list>
|
<value_in_list>False</value_in_list>
|
||||||
<ok_if_empty>True</ok_if_empty>
|
<ok_if_empty>True</ok_if_empty>
|
||||||
<case_sensitive>False</case_sensitive>
|
<case_sensitive>False</case_sensitive>
|
||||||
<use_arrows>True</use_arrows>
|
<use_arrows>False</use_arrows>
|
||||||
<use_arrows_always>False</use_arrows_always>
|
<use_arrows_always>False</use_arrows_always>
|
||||||
<items></items>
|
<items></items>
|
||||||
<child>
|
<child>
|
||||||
|
@ -387,10 +387,13 @@ class NewChild:
|
|||||||
utils.destroy_passed_object(obj)
|
utils.destroy_passed_object(obj)
|
||||||
self.new_child = person
|
self.new_child = person
|
||||||
|
|
||||||
|
def other_update(self,arg1,arg2):
|
||||||
|
self.update(None,self.new_child)
|
||||||
|
|
||||||
def on_edit_new_child(self,obj):
|
def on_edit_new_child(self,obj):
|
||||||
import EditPerson
|
import EditPerson
|
||||||
|
|
||||||
self.on_addchild_ok_clicked(obj)
|
self.on_addchild_ok_clicked(obj)
|
||||||
EditPerson.EditPerson(self.new_child,self.db)
|
EditPerson.EditPerson(self.new_child,self.db,self.other_update)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user