[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:18:34 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=80722ce
The following commit has been merged in the master branch:
commit 80722ce19a497ad169dee4231f846dfe591090d1
Author: George Kiagiadakis <george.kiagiadakis at collabora.co.uk>
Date: Sun Jan 30 19:58:16 2011 +0200
Fix the presence change messages.
---
lib/chatwindow.cpp | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/lib/chatwindow.cpp b/lib/chatwindow.cpp
index f378fac..0409d3d 100644
--- a/lib/chatwindow.cpp
+++ b/lib/chatwindow.cpp
@@ -416,13 +416,21 @@ void ChatWindow::onContactPresenceChange(const Tp::ContactPtr & contact, const T
message = i18n("You are now marked as online");
}
break;
- case Tp::ConnectionPresenceTypeAway:
+ case Tp::ConnectionPresenceTypeBusy:
if (!isYou) {
message = i18n("%1 is busy", contact->alias());
} else {
message = i18n("You are now marked as busy");
}
break;
+ case Tp::ConnectionPresenceTypeAway:
+ case Tp::ConnectionPresenceTypeExtendedAway:
+ if (!isYou) {
+ message = i18n("%1 is away", contact->alias());
+ } else {
+ message = i18n("You are now marked as away");
+ }
+ break;
default:
/*Do nothing*/
;
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list