Mercurial > pidgin
changeset 775:9614e69f68ca
[gaim-migrate @ 785]
beep beep m beep beep m yeah!
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 28 Aug 2000 23:47:29 +0000 |
parents | b61607d6c2af |
children | 626975d79bff |
files | ChangeLog TODO plugins/ChangeLog src/prefs.c src/sound.c |
diffstat | 5 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Aug 28 18:49:17 2000 +0000 +++ b/ChangeLog Mon Aug 28 23:47:29 2000 +0000 @@ -23,6 +23,7 @@ * Added GNOME Url Handler as an available web-browser * Added the S html tag. * Optionally Ignore TiK's Automated Messages + * Option to beep instead of play sound version 0.9.20 (07/14/2000): * More plugin events, more plugin features
--- a/TODO Mon Aug 28 18:49:17 2000 +0000 +++ b/TODO Mon Aug 28 23:47:29 2000 +0000 @@ -1,6 +1,4 @@ --- STUFF FOR 0.10.1 RELEASE --- - Third sound option for people without soundcards who still want - sound events. Make a PC Speaker Beep (^G / Char 7) Execute Command on Buddy Pounce Redesign the Foreground/Background color options under preferences. Add ability to conersaton window to allow changing of foreground/
--- a/plugins/ChangeLog Mon Aug 28 18:49:17 2000 +0000 +++ b/plugins/ChangeLog Mon Aug 28 23:47:29 2000 +0000 @@ -4,7 +4,7 @@ problems that creates, the plugins now have the same CFLAGS and LIBS. The plugins also have PLUGIN_LIBS which can be passed at make time. This makes things like #ifdef USE_APPLET and #ifdef USE_PERL much more - reliable. + reliable. (#include "config.h" in order to get all the #defines) version 0.9.20: It's 3 am the night before finals, it's obviously a good time to hack
--- a/src/prefs.c Mon Aug 28 18:49:17 2000 +0000 +++ b/src/prefs.c Mon Aug 28 23:47:29 2000 +0000 @@ -1079,6 +1079,7 @@ #endif gaim_button(_("No sounds when you log in"), &sound_options, OPT_SOUND_SILENT_SIGNON, box); gaim_button(_("Sounds while away"), &sound_options, OPT_SOUND_WHEN_AWAY, box); + gaim_button(_("Beep instead of playing sound"), &sound_options, OPT_SOUND_BEEP, box); gtk_widget_show(prefdialog); }
--- a/src/sound.c Mon Aug 28 18:49:17 2000 +0000 +++ b/src/sound.c Mon Aug 28 23:47:29 2000 +0000 @@ -242,6 +242,11 @@ if (pid < 0) return; else if (pid == 0) { + if (sound_options & OPT_SOUND_BEEP) { + gdk_beep(); + _exit(0); + } + #ifdef ESD_SOUND /* ESD is our player of choice. Are we OK to * go there? */