Added receipt.sent theme setting

This commit is contained in:
James Booth
2015-03-15 19:35:25 +00:00
parent 48e06c5a68
commit b21edfaa51
18 changed files with 97 additions and 78 deletions

View File

@@ -980,7 +980,7 @@ _win_print(ProfWin *window, const char show_char, GDateTime *time,
}
if (receipt && !receipt->received) {
colour = theme_attrs(THEME_BLACK_BOLD);
colour = theme_attrs(THEME_RECEIPT_SENT);
}
wattron(window->layout->win, colour);
@@ -996,7 +996,7 @@ _win_print(ProfWin *window, const char show_char, GDateTime *time,
if (!me_message) {
if (receipt && !receipt->received) {
wattron(window->layout->win, theme_attrs(THEME_BLACK_BOLD));
wattron(window->layout->win, theme_attrs(THEME_RECEIPT_SENT));
} else {
wattron(window->layout->win, theme_attrs(theme_item));
}
@@ -1016,7 +1016,7 @@ _win_print(ProfWin *window, const char show_char, GDateTime *time,
wattroff(window->layout->win, colour);
} else {
if (receipt && !receipt->received) {
wattroff(window->layout->win, theme_attrs(THEME_BLACK_BOLD));
wattroff(window->layout->win, theme_attrs(THEME_RECEIPT_SENT));
} else {
wattroff(window->layout->win, theme_attrs(theme_item));
}