aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-06-30 22:37:33 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:36 +0800
commit336c38712dde2938b1ead01f05e1cd01f96c888d (patch)
treeab3c11005d676d8361fbd42048217b45f95cf678 /libempathy-gtk/empathy-individual-view.c
parent6d9c8a607e2b44d20d54a11e917d0723da81078d (diff)
downloadgsoc2013-empathy-336c38712dde2938b1ead01f05e1cd01f96c888d.tar
gsoc2013-empathy-336c38712dde2938b1ead01f05e1cd01f96c888d.tar.gz
gsoc2013-empathy-336c38712dde2938b1ead01f05e1cd01f96c888d.tar.bz2
gsoc2013-empathy-336c38712dde2938b1ead01f05e1cd01f96c888d.tar.lz
gsoc2013-empathy-336c38712dde2938b1ead01f05e1cd01f96c888d.tar.xz
gsoc2013-empathy-336c38712dde2938b1ead01f05e1cd01f96c888d.tar.zst
gsoc2013-empathy-336c38712dde2938b1ead01f05e1cd01f96c888d.zip
Re-implement file sending with drag and drop
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index e8c971166..5c8e96b80 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -473,6 +473,7 @@ individual_view_file_drag_received (GtkWidget *view,
GtkTreeIter iter;
const gchar *sel_data;
FolksIndividual *individual;
+ EmpathyContact *contact;
sel_data = (const gchar *) gtk_selection_data_get_data (selection);
@@ -484,8 +485,8 @@ individual_view_file_drag_received (GtkWidget *view,
return FALSE;
}
- /* TODO: implement this */
- DEBUG ("file transfer not implemented");
+ contact = empathy_contact_from_folks_individual (individual);
+ empathy_send_file_from_uri_list (contact, sel_data);
g_object_unref (individual);