changeset 14563:c7a1dc62b312

[gaim-migrate @ 17286] Whether the prpl supports sending inline images or not is not relevant here. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 16 Sep 2006 03:29:21 +0000
parents 78d0f3c4c9ff
children 4c14862f7fcc
files gtk/gtkaccount.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkaccount.c	Sat Sep 16 00:56:13 2006 +0000
+++ b/gtk/gtkaccount.c	Sat Sep 16 03:29:21 2006 +0000
@@ -1123,7 +1123,7 @@
 
 	/* Buddy Icon */
 	prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(dialog->plugin);
-	if ((prpl_info != NULL) && (prpl_info->options & OPT_PROTO_IM_IMAGE))
+	if (prpl_info != NULL && prpl_info->icon_spec.format != NULL)
 	{
 		if (new || gaim_account_get_ui_bool(account, GAIM_GTK_UI, "use-global-buddyicon", TRUE) ==
 			gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(dialog->icon_check)))