Mercurial > pidgin.yaz
diff src/dialogs.c @ 7736:662a33ce4343
[gaim-migrate @ 8381]
This does protocol-specific smileys when wysiwyging. It will also reflect
changes in smiley theme.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 04 Dec 2003 05:23:19 +0000 |
parents | edebf99a5ec4 |
children | d691cb95ee67 |
line wrap: on
line diff
--- a/src/dialogs.c Thu Dec 04 05:06:59 2003 +0000 +++ b/src/dialogs.c Thu Dec 04 05:23:19 2003 +0000 @@ -1572,12 +1572,12 @@ { GaimGtkConversation *gtkconv; char *smiley_text = g_object_get_data(G_OBJECT(widget), "smiley_text"); - GtkTextMark *select_mark, *insert_mark; - GtkTextIter select_iter, insert_iter; - + GaimProtocol protocol = gaim_account_get_protocol(gaim_conversation_get_account(c)); + GaimPlugin *proto = gaim_find_prpl(protocol); + gtkconv = GAIM_GTK_CONVERSATION(c); - gtk_imhtml_insert_smiley(GTK_IMHTML(gtkconv->entry), smiley_text); + gtk_imhtml_insert_smiley(GTK_IMHTML(gtkconv->entry), proto->info->name, smiley_text); close_smiley_dialog(NULL, c); }