changeset 67:5f7f72c2635f

chat: shortened chat header "You are talking with " has been removed from chat header, so it can be displayed on small screens (phones)
author Goffi <goffi@goffi.org>
date Sat, 17 Dec 2016 14:32:40 +0100
parents 94013a9481db
children 4a1e1012337e
files src/cagou/plugins/plugin_wid_chat.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)