Allow receiving single messages with no
subject (bug 615)
This commit is contained in:
parent
35559bed7b
commit
441b9d6290
|
@ -1082,6 +1082,9 @@ class SingleMessageWindow:
|
||||||
self.message_textview.set_editable(False)
|
self.message_textview.set_editable(False)
|
||||||
self.reply_button.grab_focus()
|
self.reply_button.grab_focus()
|
||||||
|
|
||||||
|
# set_text(None) raises TypeError exception
|
||||||
|
if self.subject is None:
|
||||||
|
self.subject = ''
|
||||||
self.subject_entry.set_text(self.subject)
|
self.subject_entry.set_text(self.subject)
|
||||||
self.message_tv_buffer.set_text(self.message)
|
self.message_tv_buffer.set_text(self.message)
|
||||||
begin_iter = self.message_tv_buffer.get_start_iter()
|
begin_iter = self.message_tv_buffer.get_start_iter()
|
||||||
|
|
Loading…
Reference in New Issue