diff options
author | Greg McNew <gmcnew@gmail.com> | 2010-02-28 19:15:03 +0000 |
---|---|---|
committer | Greg McNew <gmcnew@gmail.com> | 2010-02-28 19:15:03 +0000 |
commit | cdd02e722d3da323d0cbdbc77ac713ae65560673 (patch) | |
tree | ae58a1fa446b1ef32ed204b35ce4a5aba6ebd38a | |
parent | 1b89edc8ea1494d8c3d60f170dec88a4f7baea37 (diff) | |
download | pidgin-cdd02e722d3da323d0cbdbc77ac713ae65560673.tar.gz |
pidgin: Distinguish no logs from really old logs (for Recent Log Activity sort)
Closes #11466. Patch from Greg McNew.
committer: Paul Aurich <darkrain42@pidgin.im>
-rw-r--r-- | COPYRIGHT | 1 | ||||
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | libpurple/log.c | 2 |
3 files changed, 7 insertions, 3 deletions
@@ -303,6 +303,7 @@ Ryan McCabe Peter McCurdy Kurt McKee Torrey McMahon +Greg McNew Robert McQueen Mihály Mészáros Robert Mibus @@ -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) diff --git a/libpurple/log.c b/libpurple/log.c index 79106bfd8a..57eb87c004 100644 --- a/libpurple/log.c +++ b/libpurple/log.c @@ -302,7 +302,7 @@ gint purple_log_get_activity_score(PurpleLogType type, const char *name, PurpleA } } - score = (gint)score_double; + score = (gint) ceil(score_double); g_hash_table_replace(logsize_users_decayed, lu, GINT_TO_POINTER(score)); } return score; |