comparison src/ft.c @ 9781:3cd8143b84b8

[gaim-migrate @ 10649] Dave West pointed out that this check IS needed in the case where a file is selected, deleted, then the "OK" button is selected on the file chooser. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 19 Aug 2004 04:18:35 +0000
parents 5f7c81eeebd2
children 2356d2153c94
comparison
equal deleted inserted replaced
9780:06e730382bbe 9781:3cd8143b84b8
119 /* File not found. */ 119 /* File not found. */
120 if (gaim_xfer_get_type(xfer) == GAIM_XFER_RECEIVE) { 120 if (gaim_xfer_get_type(xfer) == GAIM_XFER_RECEIVE) {
121 gaim_xfer_request_accepted(xfer, filename); 121 gaim_xfer_request_accepted(xfer, filename);
122 } 122 }
123 else { 123 else {
124 /*
125 * XXX - I believe this will never happen when using
126 * gaim_request_file() because filename is always an
127 * existing file. Someone verify that. --Mark
128 */
129 gaim_notify_error(NULL, NULL, 124 gaim_notify_error(NULL, NULL,
130 _("That file does not exist."), NULL); 125 _("That file does not exist."), NULL);
131 126
132 gaim_xfer_request_denied(xfer); 127 gaim_xfer_request_denied(xfer);
133 } 128 }