| 1413 } |
1413 } |
| 1414 |
1414 |
| 1415 /* XXX - make ft api suupport sending a directory */ |
1415 /* XXX - make ft api suupport sending a directory */ |
| 1416 /* Are we dealing with a directory? */ |
1416 /* Are we dealing with a directory? */ |
| 1417 if (g_file_test(filename, G_FILE_TEST_IS_DIR)) { |
1417 if (g_file_test(filename, G_FILE_TEST_IS_DIR)) { |
| 1418 char *str; |
1418 char *str, *str2; |
| 1419 |
1419 |
| 1420 str = g_strdup_printf(_("Cannot send folder %s."), basename); |
1420 str = g_strdup_printf(_("Cannot send folder %s."), basename); |
| |
1421 str2 = g_strdup_printf(_("%s cannot transfer a folder. You will need to send the files within individually"), PIDGIN_NAME); |
| |
1422 |
| 1421 purple_notify_error(NULL, NULL, |
1423 purple_notify_error(NULL, NULL, |
| 1422 str,_(PIDGIN_NAME " cannot transfer a folder. You will need to send the files within individually")); |
1424 str, str2); |
| 1423 |
1425 |
| 1424 g_free(str); |
1426 g_free(str); |
| |
1427 g_free(str2); |
| 1425 |
1428 |
| 1426 continue; |
1429 continue; |
| 1427 } |
1430 } |
| 1428 |
1431 |
| 1429 /* Are we dealing with an image? */ |
1432 /* Are we dealing with an image? */ |