changeset 29898:5d05940859fa

pidgin: Distinguish no logs from really old logs (for Recent Log Activity sort) Closes #11466. Patch from Greg McNew. committer: Paul Aurich <paul@darkrain42.org>
author gmcnew@gmail.com
date Sun, 28 Feb 2010 19:15:03 +0000
parents 8b469e799ed9
children 5ffe7f1d4efa
files COPYRIGHT ChangeLog libpurple/log.c
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Sun Feb 28 19:09:20 2010 +0000
+++ b/COPYRIGHT	Sun Feb 28 19:15:03 2010 +0000
@@ -303,6 +303,7 @@
 Peter McCurdy
 Kurt McKee
 Torrey McMahon
+Greg McNew
 Robert McQueen
 Mihály Mészáros
 Robert Mibus
--- a/ChangeLog	Sun Feb 28 19:09:20 2010 +0000
+++ b/ChangeLog	Sun Feb 28 19:15:03 2010 +0000
@@ -15,8 +15,11 @@
 	* 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)
--- a/libpurple/log.c	Sun Feb 28 19:09:20 2010 +0000
+++ b/libpurple/log.c	Sun Feb 28 19:15:03 2010 +0000
@@ -302,7 +302,7 @@
 			}
 		}
 
-		score = (gint)score_double;
+		score = (gint) ceil(score_double);
 		g_hash_table_replace(logsize_users_decayed, lu, GINT_TO_POINTER(score));
 	}
 	return score;