Mercurial > pidgin.yaz
comparison pidgin/gtkimhtml.c @ 23133:9aa105267f46
Show the custom smileys only on accounts that support it. References
#1187.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 07 May 2008 18:13:14 +0000 |
parents | ac567757d236 |
children | 55e42ccdca4c |
comparison
equal
deleted
inserted
replaced
23132:9c0a47402f7a | 23133:9aa105267f46 |
---|---|
5261 } | 5261 } |
5262 | 5262 |
5263 if (flags & PURPLE_CONNECTION_NO_IMAGES) | 5263 if (flags & PURPLE_CONNECTION_NO_IMAGES) |
5264 buttons &= ~GTK_IMHTML_IMAGE; | 5264 buttons &= ~GTK_IMHTML_IMAGE; |
5265 | 5265 |
5266 if (flags & PURPLE_CONNECTION_ALLOW_CUSTOM_SMILEY) | |
5267 buttons |= GTK_IMHTML_CUSTOM_SMILEY; | |
5268 else | |
5269 buttons &= ~GTK_IMHTML_CUSTOM_SMILEY; | |
5270 | |
5266 gtk_imhtml_set_format_functions(imhtml, buttons); | 5271 gtk_imhtml_set_format_functions(imhtml, buttons); |
5267 } | 5272 } |
5268 | 5273 |
5269 /******* | 5274 /******* |
5270 * GtkIMHtmlSmiley functions | 5275 * GtkIMHtmlSmiley functions |