when we reply to a single message, we add > ad the begining of each line of the quoted message

This commit is contained in:
Yann Leboulanger 2005-11-17 22:29:03 +00:00
parent 377e5a416f
commit 4330b72485
1 changed files with 3 additions and 0 deletions

View File

@ -970,6 +970,9 @@ class SingleMessageWindow:
if self.action == 'send':
if self.message: # we come from a reply?
self.message_textview.grab_focus()
# add > at the begining of each line
self.message = '>' + self.message
self.message = self.message.replace('\n', '\n>')
else: # we write a new message
self.subject_entry.grab_focus()
elif self.action == 'receive':