From 1bcbe94e6aff6f626407e1fad3bba53ef1b97309 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 13 Jan 2010 23:13:19 +0000 Subject: [PATCH] Fix confusion around focus and scrollbar position settings not being consistent --- terminatorlib/prefseditor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index 9569889d..934376e0 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -121,7 +121,7 @@ class PrefsEditor: active = 0 if focus == 'click': active = 1 - elif focus == 'sloppy': + elif focus in ['sloppy', 'mouse']: active = 2 widget = guiget('focuscombo') widget.set_active(active) @@ -380,7 +380,7 @@ class PrefsEditor: value = self.config['scrollbar_position'] if value == 'left': widget.set_active(0) - elif value == 'disabled': + elif value in ['disabled', 'hidden']: widget.set_active(2) else: widget.set_active(1) @@ -534,7 +534,7 @@ class PrefsEditor: value = 'left' elif selected == 1: value = 'right' - elif selected ==2: + elif selected == 2: value = 'hidden' self.config['scrollbar_position'] = value # Scrollback lines