Better XEP-0184 warning text.
Thanks for doing my work, roidelapluie :)
This commit is contained in:
parent
559a8c8b13
commit
31ff68e67c
1 changed files with 4 additions and 3 deletions
|
@ -536,9 +536,10 @@ class ConversationTextview:
|
||||||
if xep0184_warning and not self.xep0184_warning_tooltip.win:
|
if xep0184_warning and not self.xep0184_warning_tooltip.win:
|
||||||
# check if the current pointer is still over the line
|
# check if the current pointer is still over the line
|
||||||
position = self.tv.window.get_origin()
|
position = self.tv.window.get_origin()
|
||||||
self.xep0184_warning_tooltip.show_tooltip(_('This message '
|
self.xep0184_warning_tooltip.show_tooltip(_('This icon indicates that '
|
||||||
'was not delivered'),
|
'this message has not been delivered yet.\nIf this icon stays for '
|
||||||
8, position[1] + pointer[1])
|
"a long time, it's likely the message got lost."), 8,
|
||||||
|
position[1] + pointer[1])
|
||||||
|
|
||||||
def show_line_tooltip(self):
|
def show_line_tooltip(self):
|
||||||
pointer = self.tv.get_pointer()
|
pointer = self.tv.get_pointer()
|
||||||
|
|
Loading…
Add table
Reference in a new issue