Fix matching message subject not being highlighted in find/search.

Bug 778033

* src/client/conversation-viewer/conversation-message.vala
  (ConversationMessage::highlight_search_terms): Also check the subject
  for matching items and highlight if found.

* src/client/conversation-viewer/conversation-list-box.vala
  (ConversationListBox::EmailRow): Update matching row class to
  disambiguate from matching headers.

* ui/geary.css: Ensure matching subject labels get highlighted.
This commit is contained in:
Michael James Gratton 2017-02-23 11:06:05 +11:00
parent ae3374593f
commit 928189f36d
3 changed files with 11 additions and 5 deletions

View file

@ -94,8 +94,7 @@ row.geary-folder-popover-list-row > label {
margin-bottom: 6px;
border-bottom-width: 1px;
}
.conversation-listbox > .list-row.geary-match GtkFlowBox > *.geary-match, /* GTK < 3.20 */
.conversation-listbox > row.geary-match flowboxchild.geary-match {
.conversation-listbox *.geary-matched *.geary-match {
color: @theme_selected_fg_color;
background: @theme_selected_bg_color;
}