Mercurial > hg
changeset 1038:f9e8fd9cb58b
Set new_msg flag when listing annotations in the status buffer in non-chat mode
If the chat mode is disabled and "/roster note" displays notes in the status
buffer, we need to set the new_msg flag.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 19 Nov 2006 14:22:25 +0100 |
parents | f7ef8003fc35 |
children | f79e6d3d7190 |
files | mcabber/src/commands.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/commands.c Sun Nov 19 11:51:14 2006 +0100 +++ b/mcabber/src/commands.c Sun Nov 19 14:22:25 2006 +0100 @@ -525,6 +525,10 @@ // Call display_and_free_note() for each note, // with winId = NULL (special window) g_slist_foreach(notes, (GFunc)&display_and_free_note, NULL); + if (notes) { + scr_setmsgflag_if_needed(SPECIAL_BUFFER_STATUS_ID, TRUE); + update_roster = TRUE; + } g_slist_free(notes); }