summaryrefslogtreecommitdiff
path: root/mail/gnubiff/files/patch-src::Applet.cc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-05-04 07:56:16 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-05-04 07:56:16 +0000
commit0a89b368327366c633431756886b0b74d05ffedc (patch)
tree378f9bd6520cc698ef6add9bf146137cdd328612 /mail/gnubiff/files/patch-src::Applet.cc
parentUpdate to 2004.05.04. (diff)
Add gnubiff 1.2.0,
gnubiff is a mail notification program that checks for mail, displays headers when new mail has arrived and allow to read first lines of new mails. It relies on the GNOME and GTK libraries but can be compiled and used with or without GNOME support. Supported protocols are pop3, apop, imap4, mh, qmail and mailfile. Furthermore, gnubiff is fully configurable with a lot of options like polltime, poptime, sounds, mail reader, mailbox names, etc. and can also filter spam. PR: ports/66226 Submitted by: Tim Bishop <tim@bishnet.net>
Notes
Notes: svn path=/head/; revision=108348
Diffstat (limited to 'mail/gnubiff/files/patch-src::Applet.cc')
-rw-r--r--mail/gnubiff/files/patch-src::Applet.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/gnubiff/files/patch-src::Applet.cc b/mail/gnubiff/files/patch-src::Applet.cc
new file mode 100644
index 000000000000..d304607f25e0
--- /dev/null
+++ b/mail/gnubiff/files/patch-src::Applet.cc
@@ -0,0 +1,13 @@
+--- src/Applet.cc.bak Mon May 3 22:05:00 2004
++++ src/Applet.cc Mon May 3 22:05:19 2004
+@@ -108,9 +108,7 @@
+ else if (_owner->_sound_type == SOUND_FILE) {
+ std::stringstream s;
+ s << _owner->_sound_volume/100.0;
+- std::string command = "play \"" + _owner->_sound_file + std::string ("\" -v ");
+- command += s.str();
+- command += " &";
++ std::string command = "esdplay \"" + _owner->_sound_file + std::string ("\" &");
+ system (command.c_str());
+ }
+ }