Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
17084:10c7c5d4ea25 | 17085:9f964a4834d9 |
---|---|
3386 anim = gtk_smiley_get_image(smiley); | 3386 anim = gtk_smiley_get_image(smiley); |
3387 if (!anim) | 3387 if (!anim) |
3388 return FALSE; | 3388 return FALSE; |
3389 | 3389 |
3390 pix = gdk_pixbuf_animation_get_static_image(anim); | 3390 pix = gdk_pixbuf_animation_get_static_image(anim); |
3391 image = gtk_imhtml_image_new(pix, NULL, 0); | 3391 image = gtk_imhtml_image_new(pix, smiley->smile, 0); |
3392 ret = gtk_imhtml_image_clicked(w, event, (GtkIMHtmlImage*)image); | 3392 ret = gtk_imhtml_image_clicked(w, event, (GtkIMHtmlImage*)image); |
3393 g_object_set_data_full(G_OBJECT(w), "image-data", image, (GDestroyNotify)gtk_imhtml_image_free); | 3393 g_object_set_data_full(G_OBJECT(w), "image-data", image, (GDestroyNotify)gtk_imhtml_image_free); |
3394 g_object_unref(G_OBJECT(pix)); | 3394 g_object_unref(G_OBJECT(pix)); |
3395 return ret; | 3395 return ret; |
3396 } | 3396 } |