From: SourceForge.net <no...@so...> - 2004-11-20 23:02:07
|
Patches item #694856, was opened at 2003-02-28 00:08 Message generated for change (Settings changed) made by seanegan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=694856&group_id=235 Category: Plugins Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ernie Hershey (ehershey) >Assigned to: Etan Reisner (deryni9) Summary: store pending messages to file Initial Comment: I've patched the message notification plugin to support a new configuration option to store pending messages in ~/.gaim/.notify-msgs. The main purpose is so mail notification style programs can also report how many pending IM messages are waiting to be seen. The following in ~/.wmbiffrc will show pending messages in wmbiff: label.0 = GAIM path.0 = shell:::cat /home/ernie/.gaim/.notify-msgs | wc -l other possible uses include: playing a sound if pending messages aren't viewed within a certain amount of time displaying other counters of pending messages popping up an alert if the number of pending messages goes above a certain limit all changes are in plugins/notify.c. I've tried to keep the code in the same style as the rest of the source file. ---------------------------------------------------------------------- Comment By: Ernie Hershey (ehershey) Date: 2003-04-05 14:31 Message: Logged In: YES user_id=19392 nobody likes my patch, oh well ---------------------------------------------------------------------- Comment By: Ernie Hershey (ehershey) Date: 2003-03-19 10:25 Message: Logged In: YES user_id=19392 This also makes it easy to grab pending messages from a remote machine. With sign ins/outs logged it's hard to easily tell which log files have new messages in them. ---------------------------------------------------------------------- Comment By: Ernie Hershey (ehershey) Date: 2003-02-28 21:45 Message: Logged In: YES user_id=19392 I added a total line too, so wmbiff can just read that line directly instead of using wc: label.0 = GAIM path.0 = shell:::grep ^__total: ~/.gaim/.notify-msgs|cut -f2 -d: ---------------------------------------------------------------------- Comment By: Ernie Hershey (ehershey) Date: 2003-02-28 11:40 Message: Logged In: YES user_id=19392 My patch file didn't make it. I'll re-attempt to upload it this evening. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=694856&group_id=235 |