Propagate color of selected messages too
commit369980075a7dc17665a3bbf706859ccc145e629c
authorRoland Pallai <dap78@magex.hu>
Sun, 19 Mar 2017 12:07:01 +0000 (19 13:07 +0100)
committerRoland Pallai <dap78@magex.hu>
Sun, 26 Mar 2017 18:19:11 +0000 (26 20:19 +0200)
tree1171be5f865d4cf322746ea09206df7bde16699e
parent0edb74c6986be2973183949a5a4bbd9aaaff85e5
Propagate color of selected messages too

Selected messages has lost their color which is a UI defect. This patch
changes this behaviour to how Thunderbird works: show the color as row
background when the list widget is active and simply keep the color of
the text when inactive.
The settings page also follows the same principle, so the user can get
some clue how it will look like in action before applying.

Change-Id: I4dd4374ba728fe0c4d9dcc8a8e9eaec6f9eaabe4
CMakeLists.txt
src/Gui/ColoredItemDelegate.cpp [new file with mode: 0644]
src/Gui/ColoredItemDelegate.h [new file with mode: 0644]
src/Gui/MsgListView.cpp
src/Gui/SettingsDialog.cpp