summaryrefslogtreecommitdiff
path: root/tubes/source
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-03-23 11:42:10 +0000
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-17 16:39:49 +0200
commit98411a76545737f4b2b956fb1cc137a924c64641 (patch)
tree17a939d9767817e7e93753f77253307e49246a0c /tubes/source
parent671dfe39479dda40a2a7414de4c5cff76e214e51 (diff)
tubes: mangle service name into file description
The version of Gabble that Michael and Eike are using doesn't support the Metadata interface that we're using to direct this channel to LibreOffice. Perhaps putting something magic into the mime type would be a better temporary workaround but hey.
Diffstat (limited to 'tubes/source')
-rw-r--r--tubes/source/file-transfer-helper.c2
-rw-r--r--tubes/source/manager.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/tubes/source/file-transfer-helper.c b/tubes/source/file-transfer-helper.c
index 15e3dfdbb59d..8ee092eaeaf4 100644
--- a/tubes/source/file-transfer-helper.c
+++ b/tubes/source/file-transfer-helper.c
@@ -917,7 +917,7 @@ ft_handler_populate_outgoing_request (EmpathyFTHandler *handler)
NULL);
if (priv->service_name != NULL)
- tp_asv_set_string (priv->request, TP_PROP_CHANNEL_INTERFACE_FILE_TRANSFER_METADATA_SERVICE_NAME, priv->service_name);
+ tp_asv_set_string (priv->request, TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_DESCRIPTION, priv->service_name);
g_free (uri);
}
diff --git a/tubes/source/manager.cxx b/tubes/source/manager.cxx
index 25f879dd47b4..74145ec0a97a 100644
--- a/tubes/source/manager.cxx
+++ b/tubes/source/manager.cxx
@@ -489,7 +489,7 @@ bool TeleManager::connect()
tp_asv_new(
TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING, TP_IFACE_CHANNEL_TYPE_FILE_TRANSFER,
TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT, TP_HANDLE_TYPE_CONTACT,
- TP_PROP_CHANNEL_INTERFACE_FILE_TRANSFER_METADATA_SERVICE_NAME, G_TYPE_STRING, getFullServiceName().getStr(),
+ TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_DESCRIPTION, G_TYPE_STRING, getFullServiceName().getStr(),
NULL));
if (!tp_base_client_register( pImpl->mpFileTransferClient, &pError))