Tue, 30 May 2006 17:02:27 +0000
[gaim-migrate @ 16206]
We don't really need to pop up an error if the sound file doesn't exist
| src/gtksound.c | file | annotate | diff | comparison | revisions |
--- 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")) {