* src/gramps.glade: Add LED button widgets to the sourceref editor.

* src/Sources.py (SourceEditor.__init__): Use DateEdit to support
LED functionality; (SourceEditor.on_sourceok_clicked): Set date using
date object, instead of parsing text.


svn: r3561
This commit is contained in:
Alex Roitman
2004-09-20 23:26:41 +00:00
parent 1487014730
commit 446449de7d
3 changed files with 236 additions and 190 deletions

View File

@@ -5,6 +5,11 @@
(on_sourceok_clicked): Properly parse date for sourceref
(closes # 1031156).
* src/gramps.glade: Add LED button widgets to the sourceref editor.
* src/Sources.py (SourceEditor.__init__): Use DateEdit to support
LED functionality; (SourceEditor.on_sourceok_clicked): Set date using
date object, instead of parsing text.
2004-09-19 Alex Roitman <shura@alex.neuro.umn.edu>
* src/Date.py (is_equal): Add method -- needed to compare dates
for being identical, since __cmp__ only compares the sorting value