empathy r2134 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2134 - trunk/libempathy
- Date: Fri, 9 Jan 2009 16:12:24 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 9 16:12:24 2009
New Revision: 2134
URL: http://svn.gnome.org/viewvc/empathy?rev=2134&view=rev
Log:
Recognise file transfers
Modified:
trunk/libempathy/empathy-dispatch-operation.c
Modified: trunk/libempathy/empathy-dispatch-operation.c
==============================================================================
--- trunk/libempathy/empathy-dispatch-operation.c (original)
+++ trunk/libempathy/empathy-dispatch-operation.c Fri Jan 9 16:12:24 2009
@@ -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 @@
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]