# HG changeset patch # User Goffi # Date 1481981560 -3600 # Node ID 5f7f72c2635f5dcecd9d80e87030878e04fab7b7 # Parent 94013a9481dba7580879ae740ceb336327761121 chat: shortened chat header "You are talking with " has been removed from chat header, so it can be displayed on small screens (phones) diff -r 94013a9481db -r 5f7f72c2635f src/cagou/plugins/plugin_wid_chat.py --- a/src/cagou/plugins/plugin_wid_chat.py Tue Dec 13 23:10:43 2016 +0100 +++ b/src/cagou/plugins/plugin_wid_chat.py Sat Dec 17 14:32:40 2016 +0100 @@ -541,7 +541,7 @@ def __init__(self, host, target, type_=C.CHAT_ONE2ONE, nick=None, occupants=None, subject=None, profiles=None): quick_chat.QuickChat.__init__(self, host, target, type_, nick, occupants, subject, profiles=profiles) cagou_widget.CagouWidget.__init__(self) - self.header_input.hint_text = u"You are talking with {}".format(target) + self.header_input.hint_text = u"{}".format(target) scroll_view = ScrollView(size_hint=(1,0.8), scroll_y=0, do_scroll_x=False) self.messages_widget = MessagesWidget() scroll_view.add_widget(self.messages_widget)