changeset 494:6e8019420c1e

[gaim-migrate @ 504] ;) = wink committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 14 Jul 2000 02:56:30 +0000
parents ca775ce7ff11
children 6c2e2aac8784
files src/conversation.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Fri Jul 14 01:33:27 2000 +0000
+++ b/src/conversation.c	Fri Jul 14 02:56:30 2000 +0000
@@ -1004,7 +1004,10 @@
                                 		smiley[state+1] = 0;
                                 		buf2[y - state - 1] = 0;
                                 		y = 0;
-						face = gdk_pixmap_create_from_xpm_d(c->window->window, &mask, &c->window->style->white, smile_happy_xpm);	
+						if (!strcasecmp(smiley, ";)"))
+							face = gdk_pixmap_create_from_xpm_d(c->window->window, &mask, &c->window->style->white, smile_wink_xpm);	
+						else
+							face = gdk_pixmap_create_from_xpm_d(c->window->window, &mask, &c->window->style->white, smile_happy_xpm);	
 						gtk_html_append_text(GTK_HTML(c->text), buf2, (display_options & OPT_DISP_IGNORE_COLOUR) ? HTML_OPTION_NO_COLOURS : 0);
 						gtk_html_add_pixmap(GTK_HTML(c->text), face, 0);			
                                 		state = 0;