initialize MonitoredType correctly

svn: r6247
This commit is contained in:
Don Allingham 2006-03-31 20:17:23 +00:00
parent e6895eeedb
commit b80b103a88

View File

@ -331,6 +331,7 @@ class MonitoredType:
self.sel = AutoComp.StandardCustomSelector( self.sel = AutoComp.StandardCustomSelector(
mapping, obj, custom, default) mapping, obj, custom, default)
self.set_val(self.sel.get_values())
self.obj.set_sensitive(not readonly) self.obj.set_sensitive(not readonly)
self.obj.connect('changed', self.on_change) self.obj.connect('changed', self.on_change)