* src/DisplayTabs/_NoteTab.py (NoteTab.flow_changed): save flow status

in Note


svn: r6787
This commit is contained in:
Don Allingham 2006-05-26 04:09:36 +00:00
parent 1772ac7d01
commit 6a52f53e2a
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
2006-05-25 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_NoteTab.py (NoteTab.flow_changed): save flow status
in Note
* src/Merge/_MergeSource.py: note handling on source merge
* src/glade/mergedata.glade: note handling on source merge
* src/Makefile.am: remove deleted files

View File

@ -132,8 +132,10 @@ class NoteTab(GrampsTab):
def flow_changed(self, obj):
if obj.get_active():
self.text.set_wrap_mode(gtk.WRAP_WORD)
self.note_obj.set_format(0)
else:
self.text.set_wrap_mode(gtk.WRAP_NONE)
self.note_obj.set_format(1)
def rebuild(self):
self._set_label()