when we reply to a single message, we add > ad the begining of each line of the quoted message
This commit is contained in:
parent
377e5a416f
commit
4330b72485
|
@ -970,6 +970,9 @@ class SingleMessageWindow:
|
||||||
if self.action == 'send':
|
if self.action == 'send':
|
||||||
if self.message: # we come from a reply?
|
if self.message: # we come from a reply?
|
||||||
self.message_textview.grab_focus()
|
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
|
else: # we write a new message
|
||||||
self.subject_entry.grab_focus()
|
self.subject_entry.grab_focus()
|
||||||
elif self.action == 'receive':
|
elif self.action == 'receive':
|
||||||
|
|
Loading…
Reference in New Issue