fix marker type, search bar tuple problem

svn: r6622
This commit is contained in:
Don Allingham
2006-05-11 23:05:12 +00:00
parent f4a522efa7
commit b073854468
5 changed files with 47 additions and 9 deletions

View File

@@ -370,11 +370,12 @@ class MonitoredDataType:
default,
additional=custom_values)
value = self.sel.get_values()
self.set_val(self.fix_value(value))
if val.is_custom():
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.obj.set_sensitive(not readonly)
self.obj.connect('changed', self.on_change)