changeset 27049:9c283917ecf7

Fix Finch not to announce "your gmail account has 0 new messages."
author Paul Aurich <paul@darkrain42.org>
date Fri, 29 May 2009 05:11:14 +0000
parents d2b4de597925
children fd7dc5cc0310
files finch/gntnotify.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntnotify.c	Fri May 29 04:35:21 2009 +0000
+++ b/finch/gntnotify.c	Fri May 29 05:11:14 2009 +0000
@@ -208,6 +208,9 @@
 	void *ret;
 	static int key = 0;
 
+	if (count == 0)
+		return NULL;
+
 	if (!detailed)
 	{
 		g_string_append_printf(message,