aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-06-14 17:12:45 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-07-11 20:41:03 +0800
commit4644a9d69f070df504925902e7692fa1bc731dfa (patch)
tree30a733baf5d18f3002feebeb0a0e0ab7e1d8be15 /libempathy
parenta446f3ec4f2259f651de668e27563e3717226f04 (diff)
downloadgsoc2013-empathy-4644a9d69f070df504925902e7692fa1bc731dfa.tar
gsoc2013-empathy-4644a9d69f070df504925902e7692fa1bc731dfa.tar.gz
gsoc2013-empathy-4644a9d69f070df504925902e7692fa1bc731dfa.tar.bz2
gsoc2013-empathy-4644a9d69f070df504925902e7692fa1bc731dfa.tar.lz
gsoc2013-empathy-4644a9d69f070df504925902e7692fa1bc731dfa.tar.xz
gsoc2013-empathy-4644a9d69f070df504925902e7692fa1bc731dfa.tar.zst
gsoc2013-empathy-4644a9d69f070df504925902e7692fa1bc731dfa.zip
Set the DelegateToPreferredHandler hint
This ensures that Empathy will always handle and display the channel, even if GNOME Shel is already handling it. https://bugzilla.gnome.org/show_bug.cgi?id=652439
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-request-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-request-util.c b/libempathy/empathy-request-util.c
index 953e9827c..409fdf54a 100644
--- a/libempathy/empathy-request-util.c
+++ b/libempathy/empathy-request-util.c
@@ -80,6 +80,7 @@ create_text_channel (TpAccount *account,
TP_PROP_CHANNEL_INTERFACE_SMS_SMS_CHANNEL, TRUE);
req = tp_account_channel_request_new (account, request, timestamp);
+ tp_account_channel_request_set_delegate_to_preferred_handler (req, TRUE);
tp_account_channel_request_ensure_channel_async (req, EMPATHY_CHAT_BUS_NAME,
NULL, ensure_text_channel_cb, NULL);