summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.py9
-rw-r--r--src/tabs.py3
2 files changed, 9 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index a89e7b25..ee7fcf2f 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1361,9 +1361,14 @@ class Core(object):
if not subject or not tab:
return
if nick_from:
- self.add_message_to_text_buffer(tab._text_buffer, _("%(nick)s set the subject to: %(subject)s") % {'nick':nick_from, 'subject':subject}, time=None)
+ self.add_message_to_text_buffer(tab._text_buffer,
+ _("\x19%(info_col)s}%(nick)s set the subject to: %(subject)s") %
+ {'info_col': get_theme().COLOR_INFORMATION_TEXT[0], 'nick':nick_from, 'subject':subject},
+ time=None)
else:
- self.add_message_to_text_buffer(tab._text_buffer, _("The subject is: %(subject)s") % {'subject':subject}, time=None)
+ self.add_message_to_text_buffer(tab._text_buffer, _("\x19%(info_col)s}The subject is: %(subject)s") %
+ {'subject':subject, 'info_col': get_theme().COLOR_INFORMATION_TEXT[0]},
+ time=None)
tab.topic = subject
if self.get_tab_by_name(room_from, tabs.MucTab) is self.current_tab():
self.refresh_window()
diff --git a/src/tabs.py b/src/tabs.py
index a66d81cd..39b81df7 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -853,7 +853,8 @@ class MucTab(ChatTab):
/topic [new topic]
"""
if not arg.strip():
- self._text_buffer.add_message(_("The subject of the room is: %s") % self.topic)
+ self._text_buffer.add_message(_("\x19%s}The subject of the room is: %s") %
+ (get_theme().COLOR_INFORMATION_TEXT[0], self.topic))
self.text_win.refresh()
self.input.refresh()
return