* src/EditSource.py (__init__): Markup notes label on startup.

svn: r2459
This commit is contained in:
Alex Roitman 2003-12-07 05:04:14 +00:00
parent 637a24f778
commit caa7416a47
2 changed files with 4 additions and 1 deletions

View File

@ -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 <shura@alex.neuro.umn.edu>
* src/po/ru.po: Update Russian translation for 0.98.

View File

@ -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,