* src/PedView.py: fix quote
* src/PersonView.py: reset db and build tree on database reload * src/GrampsDb/_GrampsDbBase.py: clear active on database change svn: r5917
This commit is contained in:
parent
8edb0798e2
commit
ebba95652f
@ -1,4 +1,7 @@
|
||||
2006-02-09 Don Allingham <don@gramps-project.org>
|
||||
* src/PedView.py: fix quote
|
||||
* src/PersonView.py: reset db and build tree on database reload
|
||||
* src/GrampsDb/_GrampsDbBase.py: clear active on database change
|
||||
* src/FamilyView.py: initialize Family
|
||||
* src/EditFamily.py: fix empty gramps_id for new families
|
||||
* src/GrampsWidgets.py: fix empty gramps_id for new families
|
||||
|
@ -2009,11 +2009,13 @@ class DbState(GrampsDBCallback):
|
||||
def change_database(self,db):
|
||||
self.db.close()
|
||||
self.db = db
|
||||
self.active = None
|
||||
self.open = True
|
||||
self.emit('database-changed',(self.db,))
|
||||
|
||||
def no_database(self):
|
||||
self.db.close()
|
||||
self.db = GrampsDbBase()
|
||||
self.active = None
|
||||
self.open = False
|
||||
self.emit('no-database')
|
||||
|
@ -259,7 +259,7 @@ class PersonBoxWidget( gtk.DrawingArea):
|
||||
self.set_size_request(max(xmin,120),max(ymin,25))
|
||||
|
||||
def on_enter_cb(self,widget,event):
|
||||
'''' On mouse-over hightlight border'''
|
||||
''' On mouse-over hightlight border'''
|
||||
self.border_gc.line_width = 3
|
||||
self.queue_draw()
|
||||
|
||||
|
@ -228,10 +228,12 @@ class PersonView(PageView.PersonNavView):
|
||||
from self.state.db
|
||||
"""
|
||||
self.build_columns()
|
||||
self.db = db
|
||||
db.connect('person-add', self.person_added)
|
||||
db.connect('person-update', self.person_updated)
|
||||
db.connect('person-delete', self.person_removed)
|
||||
db.connect('person-rebuild', self.build_tree)
|
||||
self.build_tree()
|
||||
self.generic_filter_widget.apply_filter()
|
||||
|
||||
def goto_active_person(self,obj=None):
|
||||
|
Loading…
Reference in New Issue
Block a user