2007-12-06 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/PluginUtils/_MenuOptions.py: Fixed boolean option double label



svn: r9455
This commit is contained in:
Doug Blank 2007-12-07 03:45:08 +00:00
parent dca7b6cc27
commit 865404ced6
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2007-12-06 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_MenuOptions.py: Fixed boolean option double label
2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu> 2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_PluginWindows.py: Removed unnecessary code * src/PluginUtils/_PluginWindows.py: Removed unnecessary code
* src/PluginUtils/_MenuOptions.py: Added "Change" button for filter option * src/PluginUtils/_MenuOptions.py: Added "Change" button for filter option

View File

@ -296,6 +296,7 @@ class BooleanOption(Option):
""" """
value = self.get_value() value = self.get_value()
self.gobj = gtk.CheckButton(self.get_label()) self.gobj = gtk.CheckButton(self.get_label())
self.set_label("")
self.gobj.set_active(value) self.gobj.set_active(value)
def parse(self): def parse(self):