# HG changeset patch # User jcs@jcs.org # Date 1241754898 0 # Node ID 04af21d4be27218dd0fbfff6bcc058c1a9d45625 # Parent e7819fa37224a5ac8f06e59f9e5c6f19955ed389 Set PurpleConversation unseen-(count|state) in gtkconv_set_unseen, as conv_set_unseen only sets it for hidden_conv conversations. Fixes #8358 committer: Paul Aurich diff -r e7819fa37224 -r 04af21d4be27 COPYRIGHT --- a/COPYRIGHT Fri May 08 02:58:33 2009 +0000 +++ b/COPYRIGHT Fri May 08 03:54:58 2009 +0000 @@ -424,6 +424,7 @@ Lex Spoon Chris Stafford Kevin Stange +Joshua Stein Jakub Steiner Richard Stellingwerff Charlie Stockman diff -r e7819fa37224 -r 04af21d4be27 ChangeLog --- a/ChangeLog Fri May 08 02:58:33 2009 +0000 +++ b/ChangeLog Fri May 08 03:54:58 2009 +0000 @@ -65,6 +65,8 @@ * The nicks of the persons who leave the chatroom are italicized in the chat's conversation history. The nicks are un-italicized when they rejoin. + * Always set unseen-count and unseen-state on conversations. + (Joshua Stein) Finch: * The hardware cursor is updated correctly. This will be useful diff -r e7819fa37224 -r 04af21d4be27 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Fri May 08 02:58:33 2009 +0000 +++ b/pidgin/gtkconv.c Fri May 08 03:54:58 2009 +0000 @@ -8324,6 +8324,9 @@ gtkconv->unseen_state = state; } + purple_conversation_set_data(gtkconv->active_conv, "unseen-count", GINT_TO_POINTER(gtkconv->unseen_count)); + purple_conversation_set_data(gtkconv->active_conv, "unseen-state", GINT_TO_POINTER(gtkconv->unseen_state)); + purple_conversation_update(gtkconv->active_conv, PURPLE_CONV_UPDATE_UNSEEN); }