aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-12-23 01:56:33 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-12-23 01:56:33 +0800
commit2d3811960a3a6be4291f990f406c10b72f640976 (patch)
treefea1e62e10c354e959cd30a5e2a333b32b73a9f4
parentc10348d100cf46caa58e37fd8592439b311e1816 (diff)
downloadgsoc2013-empathy-2d3811960a3a6be4291f990f406c10b72f640976.tar
gsoc2013-empathy-2d3811960a3a6be4291f990f406c10b72f640976.tar.gz
gsoc2013-empathy-2d3811960a3a6be4291f990f406c10b72f640976.tar.bz2
gsoc2013-empathy-2d3811960a3a6be4291f990f406c10b72f640976.tar.lz
gsoc2013-empathy-2d3811960a3a6be4291f990f406c10b72f640976.tar.xz
gsoc2013-empathy-2d3811960a3a6be4291f990f406c10b72f640976.tar.zst
gsoc2013-empathy-2d3811960a3a6be4291f990f406c10b72f640976.zip
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> git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2012 4ee84921-47dd-4033-b63a-18d7a039a3e4
-rw-r--r--libempathy/empathy-tp-file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index 34f570f45..c21d780f9 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -753,6 +753,9 @@ tp_file_method_cb (TpProxy *proxy,
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);
}
/**