empathy r2012 - trunk/libempathy



Author: xclaesse
Date: Mon Dec 22 17:56:33 2008
New Revision: 2012
URL: http://svn.gnome.org/viewvc/empathy?rev=2012&view=rev

Log:
Start file transfer if the state is already open when we get the unix socket

Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>

Modified:
   trunk/libempathy/empathy-tp-file.c

Modified: trunk/libempathy/empathy-tp-file.c
==============================================================================
--- trunk/libempathy/empathy-tp-file.c	(original)
+++ trunk/libempathy/empathy-tp-file.c	Mon Dec 22 17:56:33 2008
@@ -753,6 +753,9 @@
   tp_file->priv->unix_socket_path = g_value_dup_string (address);
 
   DEBUG ("Got unix socket path: %s", tp_file->priv->unix_socket_path);
+
+  if (tp_file->priv->state == EMP_FILE_TRANSFER_STATE_OPEN)
+    tp_file_start_transfer (tp_file);
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]