Mercurial > pidgin.yaz
changeset 7146:875303d4f004
[gaim-migrate @ 7713]
Right.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 04 Oct 2003 21:38:54 +0000 |
parents | 0e4894b3e2a6 |
children | e9867cdeb0fd |
files | src/gtkconv.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Sat Oct 04 21:19:29 2003 +0000 +++ b/src/gtkconv.c Sat Oct 04 21:38:54 2003 +0000 @@ -4927,6 +4927,7 @@ update_tab_icon(GaimConversation *conv) { GaimGtkConversation *gtkconv; + GaimConvWindow *win = gaim_conversation_get_window(conv); GaimAccount *account; const char *name; GdkPixbuf *status = NULL; @@ -4940,8 +4941,12 @@ gtk_image_set_from_pixbuf(GTK_IMAGE(gtkconv->icon), status); gtk_image_set_from_pixbuf(GTK_IMAGE(gtkconv->menu_icon), status); + if (gaim_conv_window_get_active_conversation(win) == conv) + gtk_window_set_icon(GTK_WINDOW(GAIM_GTK_WINDOW(win)->window), status); + if(status) g_object_unref(status); + } static void