diff gtk/gtkconv.c @ 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 0f950428ef41
children 5ab90cdee9e5
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 */