summaryrefslogtreecommitdiff
path: root/mail/pygmy
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-05-11 18:30:03 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-05-11 18:30:03 +0000
commitdf4bb3e2a4f17d07aa7888fd7b7876175432f340 (patch)
tree085a1e6fd79b02cb09858d25638cc86aa9ec5ec4 /mail/pygmy
parentUpdate lang/ruby to 1.6.4.p2.2001.05.12. (diff)
When doing "Reply to all" try harder to remove own address from the To/CC
lists by using case-independent comparision.
Notes
Notes: svn path=/head/; revision=42534
Diffstat (limited to 'mail/pygmy')
-rw-r--r--mail/pygmy/Makefile1
-rw-r--r--mail/pygmy/files/patch-edit.py29
2 files changed, 29 insertions, 1 deletions
diff --git a/mail/pygmy/Makefile b/mail/pygmy/Makefile
index 6b6680d96083..9062bdd9aa3b 100644
--- a/mail/pygmy/Makefile
+++ b/mail/pygmy/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pygmy
PORTVERSION= 0.5.7
+PORTREVISION= 1
CATEGORIES= mail python gnome
MASTER_SITES= http://pygmy.sourceforge.net/
diff --git a/mail/pygmy/files/patch-edit.py b/mail/pygmy/files/patch-edit.py
index b7d3c4224dca..e01607967b2c 100644
--- a/mail/pygmy/files/patch-edit.py
+++ b/mail/pygmy/files/patch-edit.py
@@ -2,7 +2,34 @@
$FreeBSD$
--- edit.py.orig Fri May 11 16:44:12 2001
-+++ edit.py Fri May 11 19:30:04 2001
++++ edit.py Fri May 11 21:01:18 2001
+@@ -350,9 +350,9 @@
+ for a in self.prefs.accounts.keys():
+ username, emailaddr, sigfile, replyaddr = self.prefs.accounts[a]
+ if emailaddr != '':
+- ownaddrs.append(emailaddr)
++ ownaddrs.append(emailaddr.lower())
+ if replyaddr != '':
+- ownaddrs.append(replyaddr)
++ ownaddrs.append(replyaddr.lower())
+
+ # Get all the target addresses
+ to = rfc822.AddressList(rt) + \
+@@ -361,12 +361,12 @@
+ tostr = []
+
+ for i in to.addresslist:
+- if i[1] not in ownaddrs and i[1] != None:
++ if i[1].lower() not in ownaddrs and i[1] != None:
+ tostr.append(i[1])
+ ccstr = []
+
+ for i in cc.addresslist:
+- if i[1] not in ownaddrs and i[1] != None:
++ if i[1].lower() not in ownaddrs and i[1] != None:
+ ccstr.append(i[1])
+
+ self.e1.set_text(mimify.mime_decode_header(string.join(tostr, ', ')))
@@ -444,9 +444,8 @@
##
##