Mercurial > pidgin
changeset 11684:c1906dc6257c
[gaim-migrate @ 13970]
"This patch fixes the tab-color change prob (hopefully
this is the last one in the series). Bleeter also
thinks I have nailed it this time." -- Sadrul Habib Chowdhury
This also seems to fix a case of it I was having this morning.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 17 Oct 2005 16:42:10 +0000 |
parents | 5ec3bd74a3b3 |
children | d309a383ebf7 |
files | src/gtkconv.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Mon Oct 17 15:34:19 2005 +0000 +++ b/src/gtkconv.c Mon Oct 17 16:42:10 2005 +0000 @@ -4527,7 +4527,13 @@ g_object_get(G_OBJECT(win->window), "has-toplevel-focus", &has_focus, NULL); - return has_focus; + if (has_focus) + { + GaimConversation *c = gaim_gtk_conv_window_get_active_conversation(win); + if (GAIM_GTK_CONVERSATION(c) == gtkconv) + return TRUE; + } + return FALSE; } static gboolean