diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2008-12-23 01:56:33 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-12-23 01:56:33 +0800 |
commit | 0f5727a651bc90ab4fbe8c63e62a4a5d251e906f (patch) | |
tree | fea1e62e10c354e959cd30a5e2a333b32b73a9f4 /libempathy/empathy-tp-file.c | |
parent | c327778b8d52c90c34f4ac1904ff85bc63e19953 (diff) | |
download | gsoc2013-empathy-0f5727a651bc90ab4fbe8c63e62a4a5d251e906f.tar.gz 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/empathy-tp-file.c')
-rw-r--r-- | libempathy/empathy-tp-file.c | 3 |
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); } /** |