handle an alternate scrollbar disabling value

This commit is contained in:
Chris Jones 2009-01-04 17:53:19 +00:00
parent 77487d0e31
commit 56eb03712c
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ class ProfileEditor:
widget.set_range(0, 100000)
widget.set_value(value)
elif key == 'scrollbar_position':
if value == 'hidden':
value = 'disabled'
widget = gtk.combo_box_new_text()
for item in self.scrollbar_position:
widget.append_text (item)