mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-21 13:48:08 +00:00
Added back the message delivery status inside the icon tooltip
This commit is contained in:
parent
8c752b1903
commit
abe5bbdddc
5 changed files with 37 additions and 2 deletions
|
|
@ -809,6 +809,21 @@ your friend's SIP address or username.</translation>
|
|||
<translation>Select you active account</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>OutgoingMessage</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Read</source>
|
||||
<translation>Read</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delivered</source>
|
||||
<translation>Delivered</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Presence</name>
|
||||
<message>
|
||||
|
|
|
|||
|
|
@ -808,6 +808,21 @@ un chat ou ajouter un contact.</translation>
|
|||
<translation>Sélectionner votre compte principal</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>OutgoingMessage</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Erreur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Read</source>
|
||||
<translation>Lu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delivered</source>
|
||||
<translation>Délivré</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Presence</name>
|
||||
<message>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ QtObject {
|
|||
property color backgroundColor: Colors.g
|
||||
property color color: Colors.k
|
||||
property int arrowSize: 8
|
||||
property int delay: 500
|
||||
property int delay: 1000
|
||||
property int fontSize: 9
|
||||
property int margins: 8
|
||||
property int padding: 4
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ MouseArea {
|
|||
parent: tooltipParent
|
||||
visible: _visible || force
|
||||
|
||||
delay: -1
|
||||
timeout: -1
|
||||
|
||||
// Workaround to always display tooltip.
|
||||
|
|
|
|||
|
|
@ -51,6 +51,12 @@ Item {
|
|||
anchors.fill: parent
|
||||
onClicked: isNotDelivered && proxyModel.resendMessage(index)
|
||||
}
|
||||
|
||||
TooltipArea {
|
||||
text: isNotDelivered
|
||||
? qsTr("Error")
|
||||
: (isRead ? qsTr("Read") : qsTr("Delivered"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue