# HG changeset patch # User gmcnew@gmail.com # Date 1267384503 0 # Node ID 5d05940859faea088e501f3021dabcafdac25f9e # Parent 8b469e799ed9d5f816b6af1f03a3ffebab8f74a8 pidgin: Distinguish no logs from really old logs (for Recent Log Activity sort) Closes #11466. Patch from Greg McNew. committer: Paul Aurich diff -r 8b469e799ed9 -r 5d05940859fa COPYRIGHT --- 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 diff -r 8b469e799ed9 -r 5d05940859fa ChangeLog --- 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) diff -r 8b469e799ed9 -r 5d05940859fa libpurple/log.c --- 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;