Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Apr 26, 2011, 10:57:09 PM (13 years ago)
- Author:
-
gene_wood
- Comment:
-
Updating sound event list to reflect current events : http://developer.pidgin.im/viewmtn/revision/file/075c2902b90abb6349a6b689e26fa0ecf720ca04/finch/gntsound.c
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v13
|
v14
|
|
11 | 11 | |
12 | 12 | Under the root node, the theme should contain a list of event elements. Each event element should contain a name and a file attribute. The name attribute corresponds to the event for which the sound should be played, while the file attribute is the name of the file to play. A file can be used for multiple events and events can be left off so a sound is not played for a particular event. The event names are: |
13 | | * login - a contact logs in |
14 | | * logout - a contact logs off |
15 | | * im_recv - a contact sends a message |
16 | | * first_im_recv - a contact starts a conversation |
17 | | * send_im - you send a message |
18 | | * join_chat - a person enters a chat |
19 | | * left_chat - a person leaves a chat |
20 | | * send_chat_msg - you send a message in a chat |
21 | | * chat_msg_recv - someone else sends a message in a chat |
22 | | * nick_said - someone says your username in a chat |
| 13 | * login - Buddy logs in |
| 14 | * logout - Buddy logs out |
| 15 | * im_recv - Message received |
| 16 | * first_im_recv - Message received begins conversation |
| 17 | * send_im - Message sent |
| 18 | * join_chat - Person enters chat |
| 19 | * left_chat - Person leaves chat |
| 20 | * send_chat_msg - You talk in chat |
| 21 | * chat_msg_recv - Others talk in chat |
| 22 | * pounce_default - A Buddy Pounce is triggered |
| 23 | * nick_said - Someone says your username in chat |
| 24 | * got_attention - Attention received |
23 | 25 | |
24 | 26 | An example theme would look like: |
… |
… |
|
37 | 39 | <event name="send_chat_msg" file="chat_message_sent.mp3"/> |
38 | 40 | <event name="chat_msg_recv" file="chat_message_received.mp3"/> |
| 41 | <event name="pounce_default" file="pounce_default.mp3"/> |
| 42 | <event name="got_attention" file="got_attention.mp3"/> |
39 | 43 | <!-- event "nick_said" is not set--> |
40 | 44 | </theme> |
41 | 45 | }}} |
| 46 | The full list of events can be found in the [http://developer.pidgin.im/viewmtn/revision/file/075c2902b90abb6349a6b689e26fa0ecf720ca04/finch/gntsound.c source code]. |
42 | 47 | |
43 | 48 | Note: Sound files must be in a format compatible with the sound playing method used (for example, only Wave files may be used on Windows) |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!