revert r10690 and r10691, it's not translatable
This commit is contained in:
parent
3ce1baa5d3
commit
27bc3bba1a
|
@ -452,9 +452,6 @@ class MessageWindow(object):
|
||||||
label = None
|
label = None
|
||||||
elif self.get_num_controls() == 1:
|
elif self.get_num_controls() == 1:
|
||||||
label = name
|
label = name
|
||||||
state = control.contact.chatstate
|
|
||||||
if state and bool(len(state)):
|
|
||||||
label = '%s (%s)' % (label, _(state.capitalize()))
|
|
||||||
else:
|
else:
|
||||||
label = _('Messages')
|
label = _('Messages')
|
||||||
|
|
||||||
|
@ -582,8 +579,6 @@ class MessageWindow(object):
|
||||||
else:
|
else:
|
||||||
status_img.set_from_pixbuf(tab_img.get_pixbuf())
|
status_img.set_from_pixbuf(tab_img.get_pixbuf())
|
||||||
|
|
||||||
self.show_title()
|
|
||||||
|
|
||||||
def repaint_themed_widgets(self):
|
def repaint_themed_widgets(self):
|
||||||
'''Repaint controls in the window with theme color'''
|
'''Repaint controls in the window with theme color'''
|
||||||
# iterate through controls and repaint
|
# iterate through controls and repaint
|
||||||
|
|
Loading…
Reference in New Issue