handle an alternate scrollbar disabling value
This commit is contained in:
parent
77487d0e31
commit
56eb03712c
|
@ -127,6 +127,8 @@ class ProfileEditor:
|
||||||
widget.set_range(0, 100000)
|
widget.set_range(0, 100000)
|
||||||
widget.set_value(value)
|
widget.set_value(value)
|
||||||
elif key == 'scrollbar_position':
|
elif key == 'scrollbar_position':
|
||||||
|
if value == 'hidden':
|
||||||
|
value = 'disabled'
|
||||||
widget = gtk.combo_box_new_text()
|
widget = gtk.combo_box_new_text()
|
||||||
for item in self.scrollbar_position:
|
for item in self.scrollbar_position:
|
||||||
widget.append_text (item)
|
widget.append_text (item)
|
||||||
|
|
Loading…
Reference in New Issue