From: <sea...@us...> - 2006-05-30 17:18:58
|
Revision: 16206 Author: seanegan Date: 2006-05-30 10:02:27 -0700 (Tue, 30 May 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16206&view=rev Log Message: ----------- We don't really need to pop up an error if the sound file doesn't exist Modified Paths: -------------- trunk/src/gtksound.c Modified: trunk/src/gtksound.c =================================================================== --- trunk/src/gtksound.c 2006-05-30 01:31:13 UTC (rev 16205) +++ trunk/src/gtksound.c 2006-05-30 17:02:27 UTC (rev 16206) @@ -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")) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |