diff pidgin/gtkimhtml.c @ 17085:9f964a4834d9

Show the text for the custom smiley as the filename when saving.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 14 May 2007 18:34:46 +0000
parents 53e757c37e06
children 2e2f6cf3f85e e4ee1c5bd51e
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Sun May 13 10:26:08 2007 +0000
+++ b/pidgin/gtkimhtml.c	Mon May 14 18:34:46 2007 +0000
@@ -3388,7 +3388,7 @@
 		return FALSE;
 
 	pix = gdk_pixbuf_animation_get_static_image(anim);
-	image = gtk_imhtml_image_new(pix, NULL, 0);
+	image = gtk_imhtml_image_new(pix, smiley->smile, 0);
 	ret = gtk_imhtml_image_clicked(w, event, (GtkIMHtmlImage*)image);
 	g_object_set_data_full(G_OBJECT(w), "image-data", image, (GDestroyNotify)gtk_imhtml_image_free);
 	g_object_unref(G_OBJECT(pix));