Commit abe5bbdd authored by Sylvain Berfini's avatar Sylvain Berfini

Added back the message delivery status inside the icon tooltip

parent 8c752b19
...@@ -809,6 +809,21 @@ your friend&apos;s SIP address or username.</translation> ...@@ -809,6 +809,21 @@ your friend&apos;s SIP address or username.</translation>
<translation>Select you active account</translation> <translation>Select you active account</translation>
</message> </message>
</context> </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> <context>
<name>Presence</name> <name>Presence</name>
<message> <message>
......
...@@ -808,6 +808,21 @@ un chat ou ajouter un contact.</translation> ...@@ -808,6 +808,21 @@ un chat ou ajouter un contact.</translation>
<translation>Sélectionner votre compte principal</translation> <translation>Sélectionner votre compte principal</translation>
</message> </message>
</context> </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> <context>
<name>Presence</name> <name>Presence</name>
<message> <message>
......
...@@ -9,7 +9,7 @@ QtObject { ...@@ -9,7 +9,7 @@ QtObject {
property color backgroundColor: Colors.g property color backgroundColor: Colors.g
property color color: Colors.k property color color: Colors.k
property int arrowSize: 8 property int arrowSize: 8
property int delay: 500 property int delay: 1000
property int fontSize: 9 property int fontSize: 9
property int margins: 8 property int margins: 8
property int padding: 4 property int padding: 4
......
...@@ -26,7 +26,6 @@ MouseArea { ...@@ -26,7 +26,6 @@ MouseArea {
parent: tooltipParent parent: tooltipParent
visible: _visible || force visible: _visible || force
delay: -1
timeout: -1 timeout: -1
// Workaround to always display tooltip. // Workaround to always display tooltip.
......
...@@ -51,6 +51,12 @@ Item { ...@@ -51,6 +51,12 @@ Item {
anchors.fill: parent anchors.fill: parent
onClicked: isNotDelivered && proxyModel.resendMessage(index) onClicked: isNotDelivered && proxyModel.resendMessage(index)
} }
TooltipArea {
text: isNotDelivered
? qsTr("Error")
: (isRead ? qsTr("Read") : qsTr("Delivered"))
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment