Don't make Blinkenlight statuschar configurable
Allowing to specify the char to use in the BLinkenlights is a bit over the top and bloats our default offlineimap.conf. The dot is just fine, so let us settle for it and cut the example config file by an unneeded section. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
194aa1db3c
commit
634b6cd49e
@ -23,6 +23,9 @@ Changes
|
||||
* Refactor our IMAPServer class. Background work without user-visible
|
||||
changes.
|
||||
|
||||
* Remove the configurability of the Blinkenlights statuschar. It
|
||||
cluttered the main configuration file for little gain.
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
|
||||
|
@ -141,10 +141,6 @@ footer = "\n"
|
||||
# Note that this filter can be used only to further restrict mbnames
|
||||
# to a subset of folders that pass the account's folderfilter.
|
||||
|
||||
[ui.Curses.Blinkenlights]
|
||||
# Character used to indicate thread status.
|
||||
|
||||
statuschar = .
|
||||
|
||||
##################################################
|
||||
# Accounts
|
||||
|
@ -230,7 +230,7 @@ class CursesThreadFrame:
|
||||
if self.getcolor() == 'black':
|
||||
self.window.addstr(self.y, self.x, ' ', self.color)
|
||||
else:
|
||||
self.window.addstr(self.y, self.x, self.ui.config.getdefault("ui.Curses.Blinkenlights", "statuschar", '.'), self.color)
|
||||
self.window.addstr(self.y, self.x, '.', self.color)
|
||||
self.c.stdscr.move(self.c.height - 1, self.c.width - 1)
|
||||
self.window.refresh()
|
||||
self.c.locked(lockedstuff)
|
||||
|
Loading…
Reference in New Issue
Block a user