Respect "*_selected_bg" setting even in the presence of "-MessageList-new-mail-bg-color"
When the -MessageList-new-mail-bg-color
CSS property has been set, and an unread message is selected, the background colours are not changed, so it is not possible to see which message is actually selected.
The cause is in eti_get_cell_background_color()
in src/e-util/e-table-item.c
, where the logic for getting the background colour on a selected message is guarded by a if (!was_set)
. By refactoring this slightly, the background is set correctly on a selected message (regardless of its read/unread status).
See attached patch: fix-background-selected-message.patch