pidgin: 96a0db06: pidgin: Distinguish no logs from really ...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Feb 28 14:21:30 EST 2010


-----------------------------------------------------------------
Revision: 96a0db06d704ee920a99954926aa541d09aa216a
Ancestor: 6aad606af7052c8039196221403dc362a640e225
Author: gmcnew at gmail.com
Date: 2010-02-28T19:15:03
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/96a0db06d704ee920a99954926aa541d09aa216a

Modified files:
        COPYRIGHT ChangeLog libpurple/log.c

ChangeLog: 

pidgin: Distinguish no logs from really old logs (for Recent Log Activity sort)

Closes #11466.  Patch from Greg McNew.

-------------- next part --------------
============================================================
--- COPYRIGHT	a08da59af1d0267665e4d5eaf34f75f1091efeab
+++ COPYRIGHT	e5b292f95d56ea70e4a48995364046eb99026565
@@ -303,6 +303,7 @@ Torrey McMahon
 Peter McCurdy
 Kurt McKee
 Torrey McMahon
+Greg McNew
 Robert McQueen
 Mih?ly M?sz?ros
 Robert Mibus
============================================================
--- ChangeLog	ca6031c32294138c0fc1fb812a7117d4d2618cb0
+++ ChangeLog	534a49c8f85a0f3af1a96825e160d2e2d7594d17
@@ -15,8 +15,11 @@ version 2.7.0 (??/??/????):
 	* Use GtkStatusIcon for the docklet, providing better integration in
 	  notification area.
 	* Added UI for sending attentions (buzz, nudge) on supporting protocols.
-	* Make the search dialog unobtrusive in the conversation window (by making
-	  it look and behave like the search dialog in Firefox)
+	* Make the search dialog unobtrusive in the conversation window (by
+	  making it look and behave like the search dialog in Firefox)
+	* The Recent Log Activity sort method for the Buddy List now
+	  distinguishes between no activity and a small amount of activity
+	  in the distant past.  (Greg McNew)
 
 	Bonjour:
 	* Added support for IPv6. (Thanks to T_X for testing)
============================================================
--- libpurple/log.c	286b2c7ec1b95d1ce45f2652dc29fdbdf3e40444
+++ libpurple/log.c	6eb41ef373632163452c5ce4ccee063891e0f560
@@ -302,7 +302,7 @@ gint purple_log_get_activity_score(Purpl
 			}
 		}
 
-		score = (gint)score_double;
+		score = (gint) ceil(score_double);
 		g_hash_table_replace(logsize_users_decayed, lu, GINT_TO_POINTER(score));
 	}
 	return score;


More information about the Commits mailing list