From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.28.69 with SMTP id l5cs329779ebc; Sun, 17 Jan 2010 09:12:19 -0800 (PST) Received: by 10.224.105.139 with SMTP id t11mr3850778qao.335.1263748337964; Sun, 17 Jan 2010 09:12:17 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 26si10112701qwa.30.2010.01.17.09.12.17; Sun, 17 Jan 2010 09:12:17 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 4E05418582C7; Sun, 17 Jan 2010 12:12:17 -0500 (EST) Received: from mail-yx0-f187.google.com (mail-yx0-f187.google.com [209.85.210.187]) by rubyforge.org (Postfix) with ESMTP id 192DC18582C7 for ; Sun, 17 Jan 2010 12:11:59 -0500 (EST) Received: by yxe17 with SMTP id 17so2654610yxe.33 for ; Sun, 17 Jan 2010 09:11:59 -0800 (PST) Received: by 10.150.47.36 with SMTP id u36mr4037588ybu.256.1263748314736; Sun, 17 Jan 2010 09:11:54 -0800 (PST) Received: from localhost ([203.110.243.221]) by mx.google.com with ESMTPS id 15sm1009235yxh.4.2010.01.17.09.11.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 17 Jan 2010 09:11:54 -0800 (PST) From: Anirudh Sanjeev To: sup-talk Date: Sun, 17 Jan 2010 22:43:12 +0530 Message-Id: <1263747594-sup-5588@deepthought> User-Agent: Sup/git MIME-Version: 1.0 Subject: [sup-talk] Libnotify popups with sup X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1550874402==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============1550874402== Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; micalg="pgp-sha1"; boundary="=-1263748395-838018-31756-9876-4-="; protocol="application/pgp-signature" --=-1263748395-838018-31756-9876-4-= Content-Type: text/plain; charset=UTF-8 Hi, I want to write a small hook to sup to use libnotify and show a small popup whenever email comes from specific sources. I need to be able to mention a list of email addresses of people who's emails are important to me and need to be notified of, and the other ones I can just ignore. I don't know any ruby, but I'm sure that this isn't something too difficult to implement. I am not sure how to use the hooks and the API in them. I guess I have to use a hook that is executed when the email is received, but I'm not sure how to get the exact text of the email address. Any suggestions on how to go about doing this would be awesome! Thanks, Anirudh --=-1263748395-838018-31756-9876-4-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktTRSgACgkQUwqpgj9mdPlVcQCfaXAjt5kyZ+E64dPikJM1f8Y9 xcAAoKJJLSu/S7p+6mp3f/okjA87+7mY =v21o -----END PGP SIGNATURE----- --=-1263748395-838018-31756-9876-4-=-- --===============1550874402== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============1550874402==--