Bug fixes for family view
svn: r863
This commit is contained in:
parent
579aa3e6e1
commit
6fc6496df2
@ -1101,7 +1101,6 @@ class Person:
|
|||||||
"""sets the main Family of the Person, the Family in which the
|
"""sets the main Family of the Person, the Family in which the
|
||||||
Person is a natural born child"""
|
Person is a natural born child"""
|
||||||
print family,self.AltFamilyList
|
print family,self.AltFamilyList
|
||||||
assert(family in self.AltFamilyList)
|
|
||||||
f = self.removeAltFamily(family)
|
f = self.removeAltFamily(family)
|
||||||
if f:
|
if f:
|
||||||
self.AltFamilyList = [f] + self.AltFamilyList
|
self.AltFamilyList = [f] + self.AltFamilyList
|
||||||
|
@ -4959,6 +4959,19 @@
|
|||||||
<homogeneous>False</homogeneous>
|
<homogeneous>False</homogeneous>
|
||||||
<spacing>0</spacing>
|
<spacing>0</spacing>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkScrolledWindow</class>
|
||||||
|
<name>scrolledwindow33</name>
|
||||||
|
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
|
||||||
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
||||||
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
||||||
|
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>True</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkCList</class>
|
<class>GtkCList</class>
|
||||||
<name>fatherList</name>
|
<name>fatherList</name>
|
||||||
@ -4975,11 +4988,6 @@
|
|||||||
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
||||||
<show_titles>True</show_titles>
|
<show_titles>True</show_titles>
|
||||||
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
@ -5007,6 +5015,7 @@
|
|||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkHBox</class>
|
<class>GtkHBox</class>
|
||||||
@ -5097,6 +5106,19 @@ Unknown
|
|||||||
<homogeneous>False</homogeneous>
|
<homogeneous>False</homogeneous>
|
||||||
<spacing>0</spacing>
|
<spacing>0</spacing>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkScrolledWindow</class>
|
||||||
|
<name>scrolledwindow34</name>
|
||||||
|
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
|
||||||
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
||||||
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
||||||
|
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
|
||||||
|
<child>
|
||||||
|
<padding>0</padding>
|
||||||
|
<expand>True</expand>
|
||||||
|
<fill>True</fill>
|
||||||
|
</child>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkCList</class>
|
<class>GtkCList</class>
|
||||||
<name>motherList</name>
|
<name>motherList</name>
|
||||||
@ -5112,11 +5134,6 @@ Unknown
|
|||||||
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
||||||
<show_titles>True</show_titles>
|
<show_titles>True</show_titles>
|
||||||
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
@ -5144,6 +5161,7 @@ Unknown
|
|||||||
<ypad>0</ypad>
|
<ypad>0</ypad>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkHBox</class>
|
<class>GtkHBox</class>
|
||||||
|
@ -1381,6 +1381,7 @@ class Gramps:
|
|||||||
mymap = {}
|
mymap = {}
|
||||||
mynmap = {}
|
mynmap = {}
|
||||||
list = []
|
list = []
|
||||||
|
sel = 0
|
||||||
for f in self.active_person.getFamilyList():
|
for f in self.active_person.getFamilyList():
|
||||||
if self.active_person == f.getFather():
|
if self.active_person == f.getFather():
|
||||||
if f.getMother() == None:
|
if f.getMother() == None:
|
||||||
|
Loading…
Reference in New Issue
Block a user