changeset 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 10c7c5d4ea25
children 8d7e2cd32a9a
files COPYRIGHT pidgin/gtkimhtml.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Sun May 13 10:26:08 2007 +0000
+++ b/COPYRIGHT	Mon May 14 18:34:46 2007 +0000
@@ -360,6 +360,7 @@
 James Vega
 David Vermeille
 Sid Vicious
+Jorge VillaseƱor (Masca)
 Bjoern Voigt
 Wan Hing Wah
 Philip Walford
--- 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));