fix MonitoredDataType initialization

svn: r6627
This commit is contained in:
Don Allingham 2006-05-12 16:30:38 +00:00
parent cff4e1397d
commit 10f2d4adb5
2 changed files with 4 additions and 7 deletions

View File

@ -1,3 +1,6 @@
2006-05-12 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: fix MonitoredDataType initialization
2006-05-12 Alex Roitman <shura@gramps-project.org>
* src/Filters/Makefile.am (pkgdata_PYTHON): Add new files.

View File

@ -370,13 +370,7 @@ class MonitoredDataType:
default,
additional=custom_values)
if get_val().is_custom():
self.obj.set_active(get_val().get_custom())
obj.child.set_text(str(val))
else:
active = int(get_val())
self.obj.set_active(active)
self.sel.set_values((int(get_val()),str(get_val())))
self.obj.set_sensitive(not readonly)
self.obj.connect('changed', self.on_change)