summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg McNew <gmcnew@gmail.com>2010-02-28 19:15:03 +0000
committerGreg McNew <gmcnew@gmail.com>2010-02-28 19:15:03 +0000
commitcdd02e722d3da323d0cbdbc77ac713ae65560673 (patch)
treeae58a1fa446b1ef32ed204b35ce4a5aba6ebd38a
parent1b89edc8ea1494d8c3d60f170dec88a4f7baea37 (diff)
downloadpidgin-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--COPYRIGHT1
-rw-r--r--ChangeLog7
-rw-r--r--libpurple/log.c2
3 files changed, 7 insertions, 3 deletions
diff --git a/COPYRIGHT b/COPYRIGHT
index ae9afc633a..390128e8fa 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -303,6 +303,7 @@ Ryan McCabe
Peter McCurdy
Kurt McKee
Torrey McMahon
+Greg McNew
Robert McQueen
Mihály Mészáros
Robert Mibus
diff --git a/ChangeLog b/ChangeLog
index 4177c8e7ac..216bdbf7c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;