diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2013-03-02 22:34:18 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-03-03 13:49:45 +0000 |
commit | 4ced657d598ceab30806a9cd1095766a54492fb9 (patch) | |
tree | 6d82b7af61cd1118dab3979cef73fdb73fb647c2 /alot/settings | |
parent | 561cea3d0801a0e27e08f867ff20801e91ac118f (diff) |
introduce new themable thread.body_focus for focussed body text lines
Diffstat (limited to 'alot/settings')
-rw-r--r-- | alot/settings/theme.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/settings/theme.py b/alot/settings/theme.py index 993c06b2..0edf09e2 100644 --- a/alot/settings/theme.py +++ b/alot/settings/theme.py @@ -11,7 +11,7 @@ from checks import force_list from errors import ConfigError DEFAULTSPATH = os.path.join(os.path.dirname(__file__), '..', 'defaults') - +DUMMYDEFAULT = ('default',) * 6 class Theme(object): """Colour theme""" @@ -57,6 +57,7 @@ class Theme(object): thmble = self._config[mode][name] if part is not None: thmble = thmble[part] + thmble = thmble or DUMMYDEFAULT return thmble[self._colours.index(colourmode)] def get_threadline_theming(self, thread, colourmode): |