From 3f79e86808c75cfcbfb7240e8a917182a2aeabb0 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 7 Dec 2003 05:04:14 +0000 Subject: [PATCH] * src/EditSource.py (__init__): Markup notes label on startup. svn: r2459 --- gramps2/ChangeLog | 1 + gramps2/src/EditSource.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index ff0a3b036..cb38983b3 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -16,6 +16,7 @@ for its parent; (on_help_clicked): Add function. * src/dialog.glade: Correct response IDs. * src/places.glade: Correct response IDs. + * src/EditSource.py (__init__): Markup notes label on startup. 2003-12-05 Alex Roitman * src/po/ru.po: Update Russian translation for 0.98. diff --git a/gramps2/src/EditSource.py b/gramps2/src/EditSource.py index 8805d7ef8..3fd684119 100644 --- a/gramps2/src/EditSource.py +++ b/gramps2/src/EditSource.py @@ -80,7 +80,9 @@ class EditSource: self.author.set_text(source.getAuthor()) self.pubinfo.set_text(source.getPubInfo()) - self.notes_buffer.set_text(source.getNote()) + if source.getNote(): + self.notes_buffer.set_text(source.getNote()) + Utils.bold_label(self.notes_label) self.top_window.signal_autoconnect({ "on_switch_page" : self.on_switch_page,