* src/plugins/FilterEditor.py (MyInteger): Fix type conversions.

svn: r2097
This commit is contained in:
Alex Roitman 2003-09-07 02:55:41 +00:00
parent 7d411700f7
commit 445266eacc
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2003-09-06 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/FilterEditor.py (MyInteger): Fix type conversions.
2003-09-06 Don Allingham <dallingham@users.sourceforge.net>
* src/plugins/FilterEditor.py (MyPlaces): fix handling of get_text,
set_text tasks. Use the default from the base class.

View File

@ -91,10 +91,10 @@ class MyInteger(gtk.SpinButton):
self.show()
def get_text(self):
return str(self.get_value())
return str(self.get_value_as_int())
def set_text(self,val):
self.set_value(val)
self.set_value(int(val))
#-------------------------------------------------------------------------
#