Mercurial > pidgin
comparison src/sound.c @ 3279:86fdd015f40e
[gaim-migrate @ 3297]
Fewer compile warnings! Thanks, Ari Pollak (I even spelled your name correctly)
Also, I think one of these warnings may have fixed a sporadic Hotmail auth failure;
let me know if you still get those.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 29 May 2002 01:23:38 +0000 |
parents | ad8bdd73f2d6 |
children | 7b867d79da96 |
comparison
equal
deleted
inserted
replaced
3278:30ca1b76ad0c | 3279:86fdd015f40e |
---|---|
54 | 54 |
55 /* label and opt are null for the buddy pounce because it's configured * | 55 /* label and opt are null for the buddy pounce because it's configured * |
56 * per pounce. NULL option means it doesn't get displayed in the sound * | 56 * per pounce. NULL option means it doesn't get displayed in the sound * |
57 * preferences box */ | 57 * preferences box */ |
58 struct sound_struct sounds[NUM_SOUNDS] = { | 58 struct sound_struct sounds[NUM_SOUNDS] = { |
59 N_("Buddy logs in"), OPT_SOUND_LOGIN, BuddyArrive, sizeof(BuddyArrive), | 59 {N_("Buddy logs in"), OPT_SOUND_LOGIN, BuddyArrive, sizeof(BuddyArrive)}, |
60 N_("Buddy logs out"), OPT_SOUND_LOGOUT, BuddyLeave, sizeof(BuddyLeave), | 60 {N_("Buddy logs out"), OPT_SOUND_LOGOUT, BuddyLeave, sizeof(BuddyLeave)}, |
61 N_("Message received"), OPT_SOUND_RECV, Receive, sizeof(Receive), | 61 {N_("Message received"), OPT_SOUND_RECV, Receive, sizeof(Receive)}, |
62 N_("Message received begins conversation"), OPT_SOUND_FIRST_RCV, Receive, sizeof(Receive), | 62 {N_("Message received begins conversation"), OPT_SOUND_FIRST_RCV, Receive, sizeof(Receive)}, |
63 N_("Message sent"), OPT_SOUND_SEND, Send, sizeof(Send), | 63 {N_("Message sent"), OPT_SOUND_SEND, Send, sizeof(Send)}, |
64 N_("Person enters chat"), OPT_SOUND_CHAT_JOIN, BuddyArrive, sizeof(BuddyArrive), | 64 {N_("Person enters chat"), OPT_SOUND_CHAT_JOIN, BuddyArrive, sizeof(BuddyArrive)}, |
65 N_("Person leaves chat"), OPT_SOUND_CHAT_PART, BuddyLeave, sizeof(BuddyLeave), | 65 {N_("Person leaves chat"), OPT_SOUND_CHAT_PART, BuddyLeave, sizeof(BuddyLeave)}, |
66 N_("You talk in chat"), OPT_SOUND_CHAT_YOU_SAY, Send, sizeof(Send), | 66 {N_("You talk in chat"), OPT_SOUND_CHAT_YOU_SAY, Send, sizeof(Send)}, |
67 N_("Others talk in chat"), OPT_SOUND_CHAT_SAY, Receive, sizeof(Receive), | 67 {N_("Others talk in chat"), OPT_SOUND_CHAT_SAY, Receive, sizeof(Receive)}, |
68 NULL, 0, RedAlert, sizeof(RedAlert), | 68 {NULL, 0, RedAlert, sizeof(RedAlert)}, |
69 N_("Someone says your name in chat"), OPT_SOUND_CHAT_NICK, Receive, sizeof(Receive) | 69 {N_("Someone says your name in chat"), OPT_SOUND_CHAT_NICK, Receive, sizeof(Receive)} |
70 }; | 70 }; |
71 | 71 |
72 static int check_dev(char *dev) | 72 static int check_dev(char *dev) |
73 { | 73 { |
74 struct stat stat_buf; | 74 struct stat stat_buf; |