Mercurial > pidgin
comparison src/gtkutils.c @ 7717:db3bdae1761e
[gaim-migrate @ 8362]
And font face.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 03 Dec 2003 05:12:24 +0000 |
parents | 2823111061ba |
children | d691cb95ee67 |
comparison
equal
deleted
inserted
replaced
7716:911f03121652 | 7717:db3bdae1761e |
---|---|
241 (font && *font ? font : DEFAULT_FONT_FACE), | 241 (font && *font ? font : DEFAULT_FONT_FACE), |
242 sizeof(gtkconv->fontface)); | 242 sizeof(gtkconv->fontface)); |
243 | 243 |
244 gtkconv->has_font = TRUE; | 244 gtkconv->has_font = TRUE; |
245 | 245 |
246 pre_fontface = g_strconcat("<FONT FACE=\"", | 246 gtk_imhtml_toggle_fontface(GTK_IMHTML(gtkconv->entry), gtkconv->fontface); |
247 gtkconv->fontface, "\">", NULL); | |
248 gaim_gtk_surround(gtkconv, pre_fontface, "</FONT>"); | |
249 | 247 |
250 gtk_widget_grab_focus(gtkconv->entry); | 248 gtk_widget_grab_focus(gtkconv->entry); |
251 | 249 |
252 g_free(pre_fontface); | |
253 } | 250 } |
254 | 251 |
255 static int | 252 static int |
256 des_save_icon(GtkObject *obj, GdkEvent *e, | 253 des_save_icon(GtkObject *obj, GdkEvent *e, |
257 GaimGtkConversation *gtkconv) | 254 GaimGtkConversation *gtkconv) |