comparison 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
comparison
equal deleted inserted replaced
8696:aebfa2b6af6b 8697:725413cc9fb9
360 } 360 }
361 361
362 void 362 void
363 gaim_account_request_change_user_info(GaimAccount *account) 363 gaim_account_request_change_user_info(GaimAccount *account)
364 { 364 {
365 GaimConnection *gc;
365 char primary[256]; 366 char primary[256];
366 367
367 g_return_if_fail(account != NULL); 368 g_return_if_fail(account != NULL);
368 g_return_if_fail(gaim_account_is_connected(account)); 369 g_return_if_fail(gaim_account_is_connected(account));
370
371 gc = gaim_account_get_connection(account);
369 372
370 g_snprintf(primary, sizeof(primary), 373 g_snprintf(primary, sizeof(primary),
371 _("Change user information for %s"), 374 _("Change user information for %s"),
372 gaim_account_get_username(account)); 375 gaim_account_get_username(account));
373 376
374 gaim_request_input(gaim_account_get_connection(account), 377 gaim_request_input(gaim_account_get_connection(account),
375 NULL, primary, NULL, 378 NULL, primary, NULL,
376 gaim_account_get_user_info(account), 379 gaim_account_get_user_info(account),
377 TRUE, FALSE, 380 TRUE, FALSE, ((gc != NULL) &&
381 (gc->flags & GAIM_CONNECTION_HTML) ? "html" : NULL),
378 _("Save"), G_CALLBACK(set_user_info_cb), 382 _("Save"), G_CALLBACK(set_user_info_cb),
379 _("Cancel"), NULL, account); 383 _("Cancel"), NULL, account);
380 } 384 }
381 385
382 void 386 void