summaryrefslogtreecommitdiffstats
path: root/py3status/modules
diff options
context:
space:
mode:
authorUltrabug <ultrabug@ultrabug.net>2015-05-07 18:28:30 +0200
committerUltrabug <ultrabug@ultrabug.net>2015-05-07 18:28:30 +0200
commitbfb86596dfce05501ddd4f5d66def9a6fdf29206 (patch)
treed436fcdf4b1de50ac5cff9e6b27b20b6ce340645 /py3status/modules
parent600b12aac9b8ee544147c52da39bd53d5798d8e0 (diff)
parent9894f83ac04425726ae889bd3f814fdda8c4ced9 (diff)
Merge pull request #96 from Horgix/imap
imap module: fix empty color that made text invisible on i3bar when no unread email by @Horgix
Diffstat (limited to 'py3status/modules')
-rw-r--r--py3status/modules/imap.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/py3status/modules/imap.py b/py3status/modules/imap.py
index 07190dd..473c55d 100644
--- a/py3status/modules/imap.py
+++ b/py3status/modules/imap.py
@@ -47,13 +47,11 @@ class Py3status:
self.new_mail_color = i3s_config['color_good']
if mail_count == 'N/A':
- response['color'] = ''
response['full_text'] = mail_count
elif mail_count != 0:
response['color'] = self.new_mail_color
response['full_text'] = self.name.format(unseen=mail_count)
else:
- response['color'] = ''
if self.hide_if_zero:
response['full_text'] = ''
else: