changeset 15109:699e4c6c9d14

[gaim-migrate @ 17895] Patch #1606353 from charkins to fix bug #1604257 (unseen convs in hidden window being incorrectly marked as seen). committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 04 Dec 2006 21:56:32 +0000
parents 24b19f0d25de
children 6cc89a43bf8f
files gtk/gtkconv.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkconv.c	Mon Dec 04 12:52:18 2006 +0000
+++ b/gtk/gtkconv.c	Mon Dec 04 21:56:32 2006 +0000
@@ -7526,7 +7526,10 @@
 
 	g_return_if_fail(conv != NULL);
 
-	gtkconv_set_unseen(gtkconv, GAIM_UNSEEN_NONE);
+	/* clear unseen flag if conversation is not hidden */
+	if(!gaim_gtkconv_is_hidden(gtkconv)) {
+		gtkconv_set_unseen(gtkconv, GAIM_UNSEEN_NONE);
+	}
 
 	/* Update the menubar */