| 6306 |
6306 |
| 6307 return TRUE; |
6307 return TRUE; |
| 6308 } |
6308 } |
| 6309 |
6309 |
| 6310 static gboolean |
6310 static gboolean |
| |
6311 add_custom_smiley_for_webview(GtkWebView *webview, const char *sml, const char *smile) |
| |
6312 { |
| |
6313 /* FIXME: Smileys need to be added to webkit stuff */ |
| |
6314 return TRUE; |
| |
6315 } |
| |
6316 |
| |
6317 static gboolean |
| 6311 pidgin_conv_custom_smiley_add(PurpleConversation *conv, const char *smile, gboolean remote) |
6318 pidgin_conv_custom_smiley_add(PurpleConversation *conv, const char *smile, gboolean remote) |
| 6312 { |
6319 { |
| 6313 PidginConversation *gtkconv; |
6320 PidginConversation *gtkconv; |
| 6314 struct smiley_list *list; |
6321 struct smiley_list *list; |
| 6315 const char *sml = NULL, *conv_sml; |
6322 const char *sml = NULL, *conv_sml; |
| 6332 sml = list->sml; |
6339 sml = list->sml; |
| 6333 break; |
6340 break; |
| 6334 } |
6341 } |
| 6335 } |
6342 } |
| 6336 |
6343 |
| 6337 if (!add_custom_smiley_for_imhtml(GTK_IMHTML(gtkconv->webview), sml, smile)) |
6344 if (!add_custom_smiley_for_webview(GTK_WEBVIEW(gtkconv->webview), sml, smile)) |
| 6338 return FALSE; |
6345 return FALSE; |
| 6339 |
6346 |
| 6340 if (!remote) /* If it's a local custom smiley, then add it for the entry */ |
6347 if (!remote) /* If it's a local custom smiley, then add it for the entry */ |
| 6341 if (!add_custom_smiley_for_imhtml(GTK_IMHTML(gtkconv->entry), sml, smile)) |
6348 if (!add_custom_smiley_for_imhtml(GTK_IMHTML(gtkconv->entry), sml, smile)) |
| 6342 return FALSE; |
6349 return FALSE; |