aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatch-operation.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:12:24 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:12:24 +0800
commitfe78304b4f6bd501d9e0feb7375eba0fb1ab01c5 (patch)
tree2cd91c95a27525266914839e28c0776087f3429e /libempathy/empathy-dispatch-operation.c
parent195b8e4938c331486beba6f14c44ad738a814565 (diff)
downloadgsoc2013-empathy-fe78304b4f6bd501d9e0feb7375eba0fb1ab01c5.tar
gsoc2013-empathy-fe78304b4f6bd501d9e0feb7375eba0fb1ab01c5.tar.gz
gsoc2013-empathy-fe78304b4f6bd501d9e0feb7375eba0fb1ab01c5.tar.bz2
gsoc2013-empathy-fe78304b4f6bd501d9e0feb7375eba0fb1ab01c5.tar.lz
gsoc2013-empathy-fe78304b4f6bd501d9e0feb7375eba0fb1ab01c5.tar.xz
gsoc2013-empathy-fe78304b4f6bd501d9e0feb7375eba0fb1ab01c5.tar.zst
gsoc2013-empathy-fe78304b4f6bd501d9e0feb7375eba0fb1ab01c5.zip
Recognise file transfers
svn path=/trunk/; revision=2134
Diffstat (limited to 'libempathy/empathy-dispatch-operation.c')
-rw-r--r--libempathy/empathy-dispatch-operation.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy/empathy-dispatch-operation.c b/libempathy/empathy-dispatch-operation.c
index 7f3357b8f..7c3079452 100644
--- a/libempathy/empathy-dispatch-operation.c
+++ b/libempathy/empathy-dispatch-operation.c
@@ -26,6 +26,7 @@
#include <libempathy/empathy-enum-types.h>
#include <libempathy/empathy-tp-chat.h>
#include <libempathy/empathy-tp-call.h>
+#include <libempathy/empathy-tp-file.h>
#include "empathy-marshal.h"
@@ -359,6 +360,11 @@ empathy_dispatch_operation_channel_ready_cb (TpChannel *channel,
EmpathyTpCall *call = empathy_tp_call_new (channel);
priv->channel_wrapper = G_OBJECT (call);
}
+ else if (channel_type == EMP_IFACE_QUARK_CHANNEL_TYPE_FILE_TRANSFER)
+ {
+ EmpathyTpFile *file = empathy_tp_file_new (channel);
+ priv->channel_wrapper = G_OBJECT (file);
+ }
out:
empathy_dispatch_operation_set_status (self,