diff src/account.c @ 8697:725413cc9fb9

[gaim-migrate @ 9450] WYSIWYG info editing from Jon Oberheide We need separate gc flags for conversation HTML and user info HTML, or something. It seems like there should be a better way to do that... Hint hint wink wink nudge nudge I kick your foot, under the table You kick me back, I can't say I'm able To stand for you, or fall for you Ever again I wish for, a perfect setting Wishing that I'm letting you take me Where you want me, all over again committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 18 Apr 2004 06:22:42 +0000
parents 4133c85d76f7
children beb7be215db3
line wrap: on
line diff
--- a/src/account.c	Sun Apr 18 05:47:16 2004 +0000
+++ b/src/account.c	Sun Apr 18 06:22:42 2004 +0000
@@ -362,11 +362,14 @@
 void
 gaim_account_request_change_user_info(GaimAccount *account)
 {
+	GaimConnection *gc;
 	char primary[256];
 
 	g_return_if_fail(account != NULL);
 	g_return_if_fail(gaim_account_is_connected(account));
 
+	gc = gaim_account_get_connection(account);
+
 	g_snprintf(primary, sizeof(primary),
 			   _("Change user information for %s"),
 			   gaim_account_get_username(account));
@@ -374,7 +377,8 @@
 	gaim_request_input(gaim_account_get_connection(account),
 					   NULL, primary, NULL,
 					   gaim_account_get_user_info(account),
-					   TRUE, FALSE,
+					   TRUE, FALSE, ((gc != NULL) &&
+					   (gc->flags & GAIM_CONNECTION_HTML) ? "html" : NULL),
 					   _("Save"), G_CALLBACK(set_user_info_cb),
 					   _("Cancel"), NULL, account);
 }