Pay attention to the other optional value for the scrollbar_position when reconfiguring a Terminal

This commit is contained in:
Chris Jones 2010-01-21 22:38:52 +00:00
parent df992c284e
commit e9e1101d26

View File

@ -607,7 +607,7 @@ for %s (%s)' % (name, urlplugin.__class__.__name__))
if self.scrollbar_position != self.config['scrollbar_position']:
self.scrollbar_position = self.config['scrollbar_position']
if self.config['scrollbar_position'] == 'disabled':
if self.config['scrollbar_position'] in ['disabled', 'hidden']:
self.scrollbar.hide()
else:
self.scrollbar.show()