comparison src/gtkutils.c @ 10348:64bc206c7473

[gaim-migrate @ 11562] Ability to read sub-statuses from ~/.gaim/status.xml. We don't actually WRITE these to the file yet, so this doesn't do anything. Also a few other minor changes elsewhere. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 12 Dec 2004 23:57:52 +0000
parents 20e750dd21a0
children 748aa3c6de36
comparison
equal deleted inserted replaced
10347:4d2ecbb139a0 10348:64bc206c7473
1505 data->filename = g_strdup(filename); 1505 data->filename = g_strdup(filename);
1506 data->account = account; 1506 data->account = account;
1507 1507
1508 if (gc) 1508 if (gc)
1509 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); 1509 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
1510
1510 if (prpl_info && prpl_info->options & OPT_PROTO_IM_IMAGE) 1511 if (prpl_info && prpl_info->options & OPT_PROTO_IM_IMAGE)
1511 im = TRUE; 1512 im = TRUE;
1512 1513
1513 if (prpl_info && prpl_info->send_file) 1514 if (prpl_info && prpl_info->can_receive_file)
1514 ft = prpl_info->can_receive_file(gc, who); 1515 ft = prpl_info->can_receive_file(gc, who);
1515 1516
1516 if (im && ft) 1517 if (im && ft)
1517 gaim_request_choice(NULL, NULL, 1518 gaim_request_choice(NULL, NULL,
1518 _("You have dragged an image"), 1519 _("You have dragged an image"),