src/gtkutils.c

changeset 7717
cfe3d4955c51
parent 7712
74af9358b808
child 7751
e0dc18b50181
equal deleted inserted replaced
7716:da868bd56a09 7717:cfe3d4955c51
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)

mercurial