From 0370b6cb357fcc0286a2bc0f9b9e55a6a12bbe48 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 14 Dec 2001 13:58:30 +0000 Subject: [PATCH] Fixed add new person in AddSpouse dialog, fixed a couple of date problems, Fixed choose parents dialog. svn: r616 --- gramps/src/AddSpouse.py | 2 +- gramps/src/Date.py | 9 +++++++++ gramps/src/config.glade | 13 ++++++++++--- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/gramps/src/AddSpouse.py b/gramps/src/AddSpouse.py index eab76c0d2..cbe4d3673 100644 --- a/gramps/src/AddSpouse.py +++ b/gramps/src/AddSpouse.py @@ -127,7 +127,7 @@ class AddSpouse: self.person.addFamily(family) spouse.addFamily(family) - if self.person.getGender() == Person.male: + if self.person.getGender() == RelLib.Person.male: family.setMother(spouse) family.setFather(self.person) else: diff --git a/gramps/src/Date.py b/gramps/src/Date.py index c8a5a280a..52a10fafa 100644 --- a/gramps/src/Date.py +++ b/gramps/src/Date.py @@ -141,6 +141,15 @@ class Date: self.stop.calendar = self.calendar return self.stop + def getLowYear(self): + return self.start.getYear() + + def getHighYear(self): + if self.stop == None: + return self.start.getYear() + else: + return self.stop.getYear() + def getYear(self): return self.start.year diff --git a/gramps/src/config.glade b/gramps/src/config.glade index c4e539a6d..d7ee7041d 100644 --- a/gramps/src/config.glade +++ b/gramps/src/config.glade @@ -2675,7 +2675,7 @@ information. 125,104,74 225,220,197 191,191,191 - gramps.xpm + gramps.png GtkVBox @@ -3192,13 +3192,20 @@ anytime in the program's preference settings Sun, 24 Dec 2000 00:38:03 GMT Complete - Please enjoy using Gramps. + GRAMPS is an Open Source project. Its success +depends on the users. User feedback is important. +Please join the mailing lists, submit bug reports, +suggest improvements, and see how you can +contribute. + +Please enjoy using GRAMPS. 225,220,197 191,191,191 255,255,255 0,0,0 125,104,74 - gramps.xpm + gramps.png + splash.jpg