diff --git a/gramps/gramps.spec b/gramps/gramps.spec index af7e225ba..b02fb5aa3 100644 --- a/gramps/gramps.spec +++ b/gramps/gramps.spec @@ -15,7 +15,7 @@ URL: http://gramps.sourceforge.net Requires: python >= 1.5.2 Requires: pygnome >= 1.0.53 -Requires: pygnome-libglade +Requires: _gladegnomemodule.so Requires: pyexpat.so %description diff --git a/gramps/src/RelLib.py b/gramps/src/RelLib.py index 37086f6df..ceccc01cd 100644 --- a/gramps/src/RelLib.py +++ b/gramps/src/RelLib.py @@ -462,6 +462,10 @@ class Note: """return the note contents""" return self.text + def append(self,text): + """adds the text to the note's contents""" + return self.text + text + class Photo(SourceNote): """Containter for information about an image file, including location, description and privacy""" diff --git a/gramps/src/gramps.py b/gramps/src/gramps.py index b04ad59db..145cbd9ca 100755 --- a/gramps/src/gramps.py +++ b/gramps/src/gramps.py @@ -13,7 +13,7 @@ if os.environ.has_key("GRAMPSI18N"): loc = os.environ["GRAMPSI18N"] else: loc = "locale" - + intl.textdomain("gramps") intl.bindtextdomain("gramps",loc) locale.setlocale(locale.LC_NUMERIC,"C") diff --git a/gramps/src/intl.py b/gramps/src/intl.py index 2902b235a..63c262d4b 100644 --- a/gramps/src/intl.py +++ b/gramps/src/intl.py @@ -47,6 +47,9 @@ try: def bindtextdomain(s,x): return except: + import traceback + traceback.print_exc() + def gettext(s): return s diff --git a/gramps/src/plugins/ReadGedcom.py b/gramps/src/plugins/ReadGedcom.py index 2bfd0a236..3bf9334b3 100644 --- a/gramps/src/plugins/ReadGedcom.py +++ b/gramps/src/plugins/ReadGedcom.py @@ -397,9 +397,9 @@ class GedcomParser: self.nmap[matches[1]] = noteobj text = matches[2][4:] if text == "": - noteobj.set(self.parse_note_continue(1)) + noteobj.append(self.parse_note_continue(1)) else: - noteobj.set(text + self.parse_note_continue(1)) + noteobj.append(text + self.parse_note_continue(1)) self.parse_note_data(1) elif matches[2] == "OBJE": self.ignore_sub_junk(1)