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
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ for %s (%s)' % (name, urlplugin.__class__.__name__))
if self.scrollbar_position != self.config['scrollbar_position']: if self.scrollbar_position != self.config['scrollbar_position']:
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() self.scrollbar.hide()
else: else:
self.scrollbar.show() self.scrollbar.show()