svn: r2152
This commit is contained in:
Don Allingham
2003-09-20 19:56:27 +00:00
parent e0b537f7c8
commit 7047da9ffa
9 changed files with 26 additions and 11 deletions

View File

@@ -919,6 +919,7 @@ class EditPerson:
def did_data_change(self):
"""Check to see if any of the data has changed from the
original record"""
surname = unicode(self.surname_field.get_text())
if GrampsCfg.capitalize:
surname = surname.upper()
@@ -1281,6 +1282,9 @@ class EditPerson:
name = self.pname
self.birth.setDate(self.bdate.get_text())
self.birth.setPlace(self.get_place(self.bplace,1))
if idval != self.person.getId():
m = self.db.getPersonMap()
if not m.has_key(idval):
@@ -1342,9 +1346,6 @@ class EditPerson:
p = self.db.getPlaceDisplay(key)
self.pdmap[p[0]] = key
self.birth.setDate(self.bdate.get_text())
self.birth.setPlace(self.get_place(self.bplace,1))
if not self.person.getBirth().are_equal(self.birth):
self.person.setBirth(self.birth)
Utils.modified()

View File

@@ -563,7 +563,7 @@ install-data-local:
$(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/apps/Applications
$(INSTALL_DATA) $(srcdir)/gramps.desktop $(DESTDIR)$(prefix)/share/gnome/apps/Applications
$(INSTALL) -d $(pkglibdir)
$(INSTALL_DATA) $(srcdir)/grampslib.so $(pkglibdir)
$(INSTALL_DATA) grampslib.so $(pkglibdir)
uninstall-local:
-rm $(DESTDIR)$(prefix)/share/pixmaps/gramps.png

View File

@@ -147,10 +147,10 @@ pkgpython_PYTHON = \
WritePkg.py\
WriteCD.py\
rel_ru.py\
eval.py\
eval.py\
leak.py\
SimpleBookTitle.py\
CustomBookText.py
SimpleBookTitle.py\
CustomBookText.py
GLADEFILES = \

View File

@@ -246,6 +246,11 @@ uninstall-local:
@MSGCONV@ --to-code=UTF-8 $< -o temp.po
$(MSGFMT) -v temp.po -o $@
rm temp.po
zh_CN.mo: zh_CN.po
iconv -f GB2312 -t UTF-8 zh_CN.po > temp.po
$(MSGFMT) -v temp.po -o $@
rm temp.po
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: