[gaim-migrate @ 3959]

Mon, 28 Oct 2002 02:39:50 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Mon, 28 Oct 2002 02:39:50 +0000
changeset 3812
4969e21cb91a
parent 3811
d71ac523ccad
child 3813
2b9499bd401e

[gaim-migrate @ 3959]
fixes a warning in conversations. thanks deryni

committer: Luke Schierer <lschiere@pidgin.im>

src/conversation.c file | annotate | diff | comparison | revisions
--- 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) {

mercurial