diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-11-22 00:14:03 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-11-22 00:14:03 +0800 |
commit | 14040c9677cc6ce7ce6fc4adf6ff76dae87dc0b3 (patch) | |
tree | 39ed010da1698f955de87288f523ef9ffd0cd365 | |
parent | 9d08b490d650292cc0ce0dfa50447ab4a61f8417 (diff) | |
download | gsoc2013-empathy-14040c9677cc6ce7ce6fc4adf6ff76dae87dc0b3.tar gsoc2013-empathy-14040c9677cc6ce7ce6fc4adf6ff76dae87dc0b3.tar.gz gsoc2013-empathy-14040c9677cc6ce7ce6fc4adf6ff76dae87dc0b3.tar.bz2 gsoc2013-empathy-14040c9677cc6ce7ce6fc4adf6ff76dae87dc0b3.tar.lz gsoc2013-empathy-14040c9677cc6ce7ce6fc4adf6ff76dae87dc0b3.tar.xz gsoc2013-empathy-14040c9677cc6ce7ce6fc4adf6ff76dae87dc0b3.tar.zst gsoc2013-empathy-14040c9677cc6ce7ce6fc4adf6ff76dae87dc0b3.zip |
Added start of handling new incoming file channels. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1742 4ee84921-47dd-4033-b63a-18d7a039a3e4
-rw-r--r-- | libempathy/empathy-dispatcher.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 5f26eeeed..2b965d417 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -371,6 +371,15 @@ dispatcher_tubes_handle_channel (EmpathyDispatcher *dispatcher, } static void +dispatcher_file_handle_channel (EmpathyDispatcher *dispatcher, + TpChannel *channel) +{ + DEBUG ("New file channel"); + + /* handle new file channel here */ +} + +static void dispatcher_connection_invalidated_cb (TpConnection *connection, guint domain, gint code, @@ -473,6 +482,8 @@ dispatcher_connection_new_channel_cb (TpConnection *connection, if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_TUBES)) { dispatcher_tubes_handle_channel (dispatcher, channel); + } else if (!tp_strdiff (channel_type, EMP_IFACE_CHANNEL_TYPE_FILE)) { + dispatcher_file_handle_channel (dispatcher, channel); } if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_TEXT) && |