pidgin/gtksound.c

changeset 15923
17656515536c
parent 15884
4de1981757fc
child 15931
716b5fac1895
equal deleted inserted replaced
15922:8d349a2ef9bb 15923:17656515536c
527 /* check NULL for sounds that don't have an option, ie buddy pounce */ 527 /* check NULL for sounds that don't have an option, ie buddy pounce */
528 if (purple_prefs_get_bool(enable_pref)) { 528 if (purple_prefs_get_bool(enable_pref)) {
529 char *filename = g_strdup(purple_prefs_get_path(file_pref)); 529 char *filename = g_strdup(purple_prefs_get_path(file_pref));
530 if(!filename || !strlen(filename)) { 530 if(!filename || !strlen(filename)) {
531 g_free(filename); 531 g_free(filename);
532 filename = g_build_filename(DATADIR, "sounds", "purple", sounds[event].def, NULL); 532 filename = g_build_filename(DATADIR, "sounds", "pidgin", sounds[event].def, NULL);
533 } 533 }
534 534
535 purple_sound_play_file(filename, NULL); 535 purple_sound_play_file(filename, NULL);
536 g_free(filename); 536 g_free(filename);
537 } 537 }

mercurial