[empathy] set FileTransfer.URI on outgoing FT
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] set FileTransfer.URI on outgoing FT
- Date: Mon, 7 Feb 2011 12:20:17 +0000 (UTC)
commit 7e67efc0b94e62d2a5f48412abc5f71c43ca764b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Jan 31 14:11:57 2011 +0100
set FileTransfer.URI on outgoing FT
libempathy/empathy-ft-handler.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index 70a194c..b5f6b50 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -774,8 +774,10 @@ ft_handler_populate_outgoing_request (EmpathyFTHandler *handler)
{
guint contact_handle;
EmpathyFTHandlerPriv *priv = GET_PRIV (handler);
+ gchar *uri;
contact_handle = empathy_contact_get_handle (priv->contact);
+ uri = g_file_get_uri (priv->gfile);
priv->request = tp_asv_new (
TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
@@ -792,7 +794,10 @@ ft_handler_populate_outgoing_request (EmpathyFTHandler *handler)
priv->total_bytes,
TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_DATE, G_TYPE_UINT64,
priv->mtime,
+ TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_URI, G_TYPE_STRING, uri,
NULL);
+
+ g_free (uri);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]