improve code quality. code block is cleaner. ugly hack was leaving leading space

This commit is contained in:
Nikos Kouremenos 2005-10-09 18:42:24 +00:00
parent 6d07ec5a0a
commit d9d527b2ef
1 changed files with 3 additions and 2 deletions

View File

@ -210,9 +210,10 @@ class ChangeStatusMessageDialog:
self.window = self.xml.get_widget('change_status_message_dialog')
if show:
uf_show = helpers.get_uf_show(show)
title_text = _('%s Status Message') % uf_show
else:
uf_show = ''
self.window.set_title(_('%s Status Message') % uf_show)
title_text = _('Status Message')
self.window.set_title()
message_textview = self.xml.get_widget('message_textview')
self.message_buffer = message_textview.get_buffer()