Mercurial > pidgin.yaz
changeset 13794:ecfd8fb02c19
[gaim-migrate @ 16206]
We don't really need to pop up an error if the sound file doesn't exist
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 30 May 2006 17:02:27 +0000 |
parents | 2a63b6b460cd |
children | 6559e5c913d9 |
files | src/gtksound.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtksound.c Tue May 30 01:31:13 2006 +0000 +++ b/src/gtksound.c Tue May 30 17:02:27 2006 +0000 @@ -392,12 +392,8 @@ return; } - if (!g_file_test(filename, G_FILE_TEST_EXISTS)) { - char *tmp = g_strdup_printf(_("Unable to play sound because the chosen file (%s) does not exist."), filename); - gaim_notify_error(NULL, NULL, tmp, NULL); - g_free(tmp); + if (!g_file_test(filename, G_FILE_TEST_EXISTS)) return; - } #ifndef _WIN32 if (!strcmp(method, "custom")) {