changeset 3812:f8b01fcefe0d

[gaim-migrate @ 3959] fixes a warning in conversations. thanks deryni committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 28 Oct 2002 02:39:50 +0000
parents f9775881ea94
children f61c875d6b89
files src/conversation.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Sun Oct 27 22:37:21 2002 +0000
+++ b/src/conversation.c	Mon Oct 28 02:39:50 2002 +0000
@@ -2048,9 +2048,10 @@
 				g_list_index(chats, c) + offs)
 			unhighlight = 1;
 	} else {
-		if (gtk_notebook_get_current_page(GTK_NOTEBOOK(convo_notebook)) ==
-				g_list_index(conversations, c))
-			unhighlight = 1;
+		if (im_options & OPT_IM_ONE_WINDOW)
+			if (gtk_notebook_get_current_page(GTK_NOTEBOOK(convo_notebook)) ==
+					g_list_index(conversations, c))
+				unhighlight = 1;
 	}
 
 	if (!unhighlight && flags & WFLAG_NICK) {