* src/FamilyView.py: keep track of local person during update, connect
active-changed signal * src/gramps_main.py: keep track of active-changed, use local person svn: r4317
This commit is contained in:
parent
c538477ffe
commit
46fe87842a
@ -1,8 +1,9 @@
|
||||
2005-04-06 Don Allingham <don@gramps-project.org>
|
||||
* src/FamilyView.py: keep track of local person during update
|
||||
* src/FamilyView.py: keep track of local person during update, connect
|
||||
active-changed signal
|
||||
* src/PedView.py: update database pointer when database changed, update
|
||||
active person
|
||||
* src/gramps_main.py: keep track of active-changed
|
||||
* src/gramps_main.py: keep track of active-changed, use local person
|
||||
|
||||
2005-04-06 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/gramps.glade: People View: Add label for filter text input field.
|
||||
|
@ -96,6 +96,7 @@ class FamilyView:
|
||||
self.cadded = [ 0, 0 ]
|
||||
self.in_drag = False
|
||||
self.init_interface()
|
||||
self.parent.connect('active-changed',self.update_callback)
|
||||
|
||||
def change_db(self,db):
|
||||
db.connect('family-add', self.update_callback)
|
||||
|
@ -1480,11 +1480,11 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
|
||||
else:
|
||||
self.backbtn.set_sensitive(0)
|
||||
self.back.set_sensitive(0)
|
||||
self.emit('active-changed',(self.active_person.get_handle(),))
|
||||
self.emit('active-changed',(person.get_handle(),))
|
||||
else:
|
||||
self.active_person = self.db.get_person_from_handle(person.get_handle())
|
||||
self.set_buttons(1)
|
||||
self.emit('active-changed',(self.active_person.get_handle(),))
|
||||
self.emit('active-changed',(person.get_handle(),))
|
||||
|
||||
def modify_statusbar(self):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user