[gnome-shell] Telepathy: Set empathy-chat as prefered handler when delegating channels
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Telepathy: Set empathy-chat as prefered handler when delegating channels
- Date: Tue, 23 Oct 2012 10:37:28 +0000 (UTC)
commit 14966b0cd0f0084fbec5f3cce12890842affcdfd
Author: Xavier Claessens <xavier claessens collabora co uk>
Date: Wed Oct 17 15:36:25 2012 +0200
Telepathy: Set empathy-chat as prefered handler when delegating channels
https://bugzilla.gnome.org/show_bug.cgi?id=686296
js/ui/components/telepathyClient.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index e3e11f3..a487352 100644
--- a/js/ui/components/telepathyClient.js
+++ b/js/ui/components/telepathyClient.js
@@ -555,7 +555,9 @@ const ChatSource = new Lang.Class({
open: function(notification) {
if (this._client.is_handling_channel(this._channel)) {
// We are handling the channel, try to pass it to Empathy
- this._client.delegate_channels_async([this._channel], global.get_current_time(), '', null);
+ this._client.delegate_channels_async([this._channel],
+ global.get_current_time(),
+ 'org.freedesktop.Telepathy.Client.Empathy.Chat', null);
}
else {
// We are not the handler, just ask to present the channel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]