| 476 mid->info->is_open_hp = g_strdup(info->is_open_hp); |
476 mid->info->is_open_hp = g_strdup(info->is_open_hp); |
| 477 mid->info->is_open_contact = g_strdup(info->is_open_contact); |
477 mid->info->is_open_contact = g_strdup(info->is_open_contact); |
| 478 mid->info->qq_show = g_strdup(info->qq_show); |
478 mid->info->qq_show = g_strdup(info->qq_show); |
| 479 mid->info->unknown6 = g_strdup(info->unknown6); |
479 mid->info->unknown6 = g_strdup(info->unknown6); |
| 480 |
480 |
| 481 purple_request_fields(gc, _("Modify my information"), |
481 purple_request_fields_with_hint(gc, _("Modify my information"), |
| 482 _("Modify my information"), NULL, fields, |
482 _("Modify my information"), NULL, fields, |
| 483 _("Update my information"), G_CALLBACK(modify_info_ok_cb), |
483 _("Update my information"), G_CALLBACK(modify_info_ok_cb), |
| 484 _("Cancel"), G_CALLBACK(modify_info_cancel_cb), |
484 _("Cancel"), G_CALLBACK(modify_info_cancel_cb), |
| 485 purple_connection_get_account(gc), NULL, NULL, |
485 purple_connection_get_account(gc), NULL, NULL, |
| 486 mid); |
486 "account", mid); |
| 487 } |
487 } |
| 488 } |
488 } |
| 489 |
489 |
| 490 /* process the reply of modify_info packet */ |
490 /* process the reply of modify_info packet */ |
| 491 void qq_process_modify_info_reply(guint8 *buf, gint buf_len, PurpleConnection *gc) |
491 void qq_process_modify_info_reply(guint8 *buf, gint buf_len, PurpleConnection *gc) |