* src/FamilyView.py: initialize Family
svn: r5916
This commit is contained in:
parent
c79d8bbd7b
commit
84a5a1e133
@ -1,4 +1,5 @@
|
|||||||
2006-02-09 Don Allingham <don@gramps-project.org>
|
2006-02-09 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/FamilyView.py: initialize Family
|
||||||
* src/EditFamily.py: fix empty gramps_id for new families
|
* src/EditFamily.py: fix empty gramps_id for new families
|
||||||
* src/GrampsWidgets.py: fix empty gramps_id for new families
|
* src/GrampsWidgets.py: fix empty gramps_id for new families
|
||||||
* src/DisplayTabs.py: fix editing of person events
|
* src/DisplayTabs.py: fix editing of person events
|
||||||
|
@ -572,7 +572,8 @@ class FamilyView(PageView.PersonNavView):
|
|||||||
def add_family(self,obj,event,handle):
|
def add_family(self,obj,event,handle):
|
||||||
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
|
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
|
||||||
import EditFamily
|
import EditFamily
|
||||||
EditFamily.EditFamily(self.dbstate,self.uistate,[],None)
|
family = RelLib.Family()
|
||||||
|
EditFamily.EditFamily(self.dbstate,self.uistate,[],family)
|
||||||
|
|
||||||
def delete_family(self,obj,event,handle):
|
def delete_family(self,obj,event,handle):
|
||||||
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
|
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user