2006-09-04 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: don't delete tabs * src/DisplayTabs/_NoteTab.py: allow tabs to be entered svn: r7302
This commit is contained in:
parent
81e5d2a251
commit
2d4d9c84c4
@ -1,3 +1,7 @@
|
|||||||
|
2006-09-04 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/GrampsDb/_ReadGedcom.py: don't delete tabs
|
||||||
|
* src/DisplayTabs/_NoteTab.py: allow tabs to be entered
|
||||||
|
|
||||||
2006-09-03 Don Allingham <don@gramps-project.org>
|
2006-09-03 Don Allingham <don@gramps-project.org>
|
||||||
* src/ScratchPad.py: add dnd support for MediaRefs (bug #417)
|
* src/ScratchPad.py: add dnd support for MediaRefs (bug #417)
|
||||||
* src/DdTargets.py: add dnd support for MediaRefs (bug #417)
|
* src/DdTargets.py: add dnd support for MediaRefs (bug #417)
|
||||||
|
@ -77,6 +77,8 @@ class NoteTab(GrampsTab):
|
|||||||
vbox = gtk.VBox()
|
vbox = gtk.VBox()
|
||||||
|
|
||||||
self.text = gtk.TextView()
|
self.text = gtk.TextView()
|
||||||
|
self.text.set_accepts_tab(True)
|
||||||
|
|
||||||
self.flowed = gtk.RadioButton(None, _('Flowed'))
|
self.flowed = gtk.RadioButton(None, _('Flowed'))
|
||||||
self.format = gtk.RadioButton(self.flowed, _('Formatted'))
|
self.format = gtk.RadioButton(self.flowed, _('Formatted'))
|
||||||
|
|
||||||
|
@ -149,7 +149,7 @@ _event_family_str = _("%(event_name)s of %(family)s")
|
|||||||
_event_person_str = _("%(event_name)s of %(person)s")
|
_event_person_str = _("%(event_name)s of %(person)s")
|
||||||
|
|
||||||
_transtable = string.maketrans('','')
|
_transtable = string.maketrans('','')
|
||||||
_delc = _transtable[0:31]
|
_delc = _transtable[0:8] + _transtable[10:31]
|
||||||
_transtable2 = _transtable[0:128] + ('?' * 128)
|
_transtable2 = _transtable[0:128] + ('?' * 128)
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
@ -959,8 +959,7 @@ class GedcomParser(UpdateCallback):
|
|||||||
source.add_attribute(a)
|
source.add_attribute(a)
|
||||||
|
|
||||||
def func_source_text(self, matches, source, level):
|
def func_source_text(self, matches, source, level):
|
||||||
note = source.get_note()
|
source.set_note(matches[2])
|
||||||
source.set_note(note.strip())
|
|
||||||
|
|
||||||
def func_source_note(self, matches, source, level):
|
def func_source_note(self, matches, source, level):
|
||||||
note = self.parse_note(matches, source, level+1, '')
|
note = self.parse_note(matches, source, level+1, '')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user