aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2008-12-23 01:56:33 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-23 01:56:33 +0800
commit0f5727a651bc90ab4fbe8c63e62a4a5d251e906f (patch)
treefea1e62e10c354e959cd30a5e2a333b32b73a9f4 /libempathy
parentc327778b8d52c90c34f4ac1904ff85bc63e19953 (diff)
downloadgsoc2013-empathy-0f5727a651bc90ab4fbe8c63e62a4a5d251e906f.tar
gsoc2013-empathy-0f5727a651bc90ab4fbe8c63e62a4a5d251e906f.tar.gz
gsoc2013-empathy-0f5727a651bc90ab4fbe8c63e62a4a5d251e906f.tar.bz2
gsoc2013-empathy-0f5727a651bc90ab4fbe8c63e62a4a5d251e906f.tar.lz
gsoc2013-empathy-0f5727a651bc90ab4fbe8c63e62a4a5d251e906f.tar.xz
gsoc2013-empathy-0f5727a651bc90ab4fbe8c63e62a4a5d251e906f.tar.zst
gsoc2013-empathy-0f5727a651bc90ab4fbe8c63e62a4a5d251e906f.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> svn path=/trunk/; revision=2012
Diffstat (limited to 'libempathy')
-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);
}
/**