comparison src/prefs.c @ 3072:359b4cd0e766

[gaim-migrate @ 3086] Sound bugfix; thanks Robot101. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 17 Mar 2002 18:29:17 +0000
parents 22c84cbcd5a6
children 255155a1b190
comparison
equal deleted inserted replaced
3071:55fa49dc545e 3072:359b4cd0e766
1741 vbox = gtk_vbox_new(FALSE, 5); 1741 vbox = gtk_vbox_new(FALSE, 5);
1742 gtk_container_add(GTK_CONTAINER(frame), vbox); 1742 gtk_container_add(GTK_CONTAINER(frame), vbox);
1743 gtk_widget_show(vbox); 1743 gtk_widget_show(vbox);
1744 1744
1745 for (j=0; j < NUM_SOUNDS; j++) { 1745 for (j=0; j < NUM_SOUNDS; j++) {
1746 /* no entry for the buddy pounce sound, it's configurable per-pounce */ 1746 /* no entry for sounds without an option */
1747 if (j == SND_POUNCE_DEFAULT) 1747 if (sounds[j].opt == 0)
1748 continue; 1748 continue;
1749 1749
1750 /* seperators before SND_RECEIVE and SND_CHAT_JOIN */ 1750 /* seperators before SND_RECEIVE and SND_CHAT_JOIN */
1751 if ((j == SND_RECEIVE) || (j == SND_CHAT_JOIN)) { 1751 if ((j == SND_RECEIVE) || (j == SND_CHAT_JOIN)) {
1752 sep = gtk_hseparator_new(); 1752 sep = gtk_hseparator_new();