Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 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 | 80a000885b2c |
children | 3aa374a7bc2e |
comparison
equal
deleted
inserted
replaced
7145:0e4894b3e2a6 | 7146:875303d4f004 |
---|---|
4925 | 4925 |
4926 static void | 4926 static void |
4927 update_tab_icon(GaimConversation *conv) | 4927 update_tab_icon(GaimConversation *conv) |
4928 { | 4928 { |
4929 GaimGtkConversation *gtkconv; | 4929 GaimGtkConversation *gtkconv; |
4930 GaimConvWindow *win = gaim_conversation_get_window(conv); | |
4930 GaimAccount *account; | 4931 GaimAccount *account; |
4931 const char *name; | 4932 const char *name; |
4932 GdkPixbuf *status = NULL; | 4933 GdkPixbuf *status = NULL; |
4933 | 4934 |
4934 gtkconv = GAIM_GTK_CONVERSATION(conv); | 4935 gtkconv = GAIM_GTK_CONVERSATION(conv); |
4938 status = get_tab_icon(conv); | 4939 status = get_tab_icon(conv); |
4939 | 4940 |
4940 gtk_image_set_from_pixbuf(GTK_IMAGE(gtkconv->icon), status); | 4941 gtk_image_set_from_pixbuf(GTK_IMAGE(gtkconv->icon), status); |
4941 gtk_image_set_from_pixbuf(GTK_IMAGE(gtkconv->menu_icon), status); | 4942 gtk_image_set_from_pixbuf(GTK_IMAGE(gtkconv->menu_icon), status); |
4942 | 4943 |
4944 if (gaim_conv_window_get_active_conversation(win) == conv) | |
4945 gtk_window_set_icon(GTK_WINDOW(GAIM_GTK_WINDOW(win)->window), status); | |
4946 | |
4943 if(status) | 4947 if(status) |
4944 g_object_unref(status); | 4948 g_object_unref(status); |
4949 | |
4945 } | 4950 } |
4946 | 4951 |
4947 static void | 4952 static void |
4948 gaim_gtkconv_updated(GaimConversation *conv, GaimConvUpdateType type) | 4953 gaim_gtkconv_updated(GaimConversation *conv, GaimConvUpdateType type) |
4949 { | 4954 { |