libpurple/protocols/jabber/xdata.c

changeset 21174
8ba833993a11
parent 21171
c6934783d152
child 21175
c6d76b49c206
child 21225
32d8e16cb7a9
equal deleted inserted replaced
21171:c6934783d152 21174:8ba833993a11
393 title = xmlnode_get_data(x); 393 title = xmlnode_get_data(x);
394 394
395 if((x = xmlnode_get_child(packet, "instructions"))) 395 if((x = xmlnode_get_child(packet, "instructions")))
396 instructions = xmlnode_get_data(x); 396 instructions = xmlnode_get_data(x);
397 397
398 handle = purple_request_fields(js->gc, title, title, instructions, fields, 398 handle = purple_request_fields_with_hint(js->gc, title, title, instructions, fields,
399 _("OK"), G_CALLBACK(jabber_x_data_ok_cb), 399 _("OK"), G_CALLBACK(jabber_x_data_ok_cb),
400 _("Cancel"), G_CALLBACK(jabber_x_data_cancel_cb), 400 _("Cancel"), G_CALLBACK(jabber_x_data_cancel_cb),
401 purple_connection_get_account(js->gc), /* XXX Do we have a who here? */ NULL, NULL, 401 purple_connection_get_account(js->gc), /* XXX Do we have a who here? */ NULL, NULL,
402 data); 402 "account", data);
403 403
404 g_free(title); 404 g_free(title);
405 g_free(instructions); 405 g_free(instructions);
406 406
407 return handle; 407 return handle;

mercurial