pidgin: b64b40b3: Set PurpleConversation unseen-(count|sta...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Fri May 8 00:00:58 EDT 2009


-----------------------------------------------------------------
Revision: b64b40b3762950d0b8b4bff4f4bb8bddeefc24ac
Ancestor: 8c750517ab44a01e47f71cbe26137c71a5a0ec62
Author: jcs at jcs.org
Date: 2009-05-08T03:54:58
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b64b40b3762950d0b8b4bff4f4bb8bddeefc24ac

Modified files:
        COPYRIGHT ChangeLog pidgin/gtkconv.c

ChangeLog: 

Set PurpleConversation unseen-(count|state) in gtkconv_set_unseen, as conv_set_unseen only sets it for hidden_conv conversations. Fixes #8358

-------------- next part --------------
============================================================
--- COPYRIGHT	489df3dbfc765ca2a8616cb94a7145294ef8e0ba
+++ COPYRIGHT	337d8ee143340ec2fc07605e5b337117535d2dc8
@@ -424,6 +424,7 @@ Kevin Stange
 Lex Spoon
 Chris Stafford
 Kevin Stange
+Joshua Stein
 Jakub Steiner
 Richard Stellingwerff
 Charlie Stockman
============================================================
--- ChangeLog	8178868ecdb8d1c9eb36c7f0f18a1ea0f92e6225
+++ ChangeLog	278d1a28e38a2e9affa109cc17f06e0f08309ed5
@@ -65,6 +65,8 @@ version 2.6.0 (??/??/2009):
 	* 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
============================================================
--- pidgin/gtkconv.c	a137d6aa5c0ddc8f065ca4cf4cd87514be50db25
+++ pidgin/gtkconv.c	3cd64048bb45d4f9a95839a3c74417840201b023
@@ -8324,6 +8324,9 @@ gtkconv_set_unseen(PidginConversation *g
 			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);
 }
 


More information about the Commits mailing list