Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 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 | 04e0189bb519 |
children | 0914f135760a |
comparison
equal
deleted
inserted
replaced
11683:5ec3bd74a3b3 | 11684:c1906dc6257c |
---|---|
4525 | 4525 |
4526 win = gtkconv->win; | 4526 win = gtkconv->win; |
4527 | 4527 |
4528 g_object_get(G_OBJECT(win->window), "has-toplevel-focus", &has_focus, NULL); | 4528 g_object_get(G_OBJECT(win->window), "has-toplevel-focus", &has_focus, NULL); |
4529 | 4529 |
4530 return has_focus; | 4530 if (has_focus) |
4531 { | |
4532 GaimConversation *c = gaim_gtk_conv_window_get_active_conversation(win); | |
4533 if (GAIM_GTK_CONVERSATION(c) == gtkconv) | |
4534 return TRUE; | |
4535 } | |
4536 return FALSE; | |
4531 } | 4537 } |
4532 | 4538 |
4533 static gboolean | 4539 static gboolean |
4534 gaim_gtkconv_custom_smiley_add(GaimConversation *conv, const char *smile) | 4540 gaim_gtkconv_custom_smiley_add(GaimConversation *conv, const char *smile) |
4535 { | 4541 { |