aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-24 21:34:00 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-27 17:23:48 +0800
commit9bee6ee28d745736a6c5c9b0cd26041575da9b73 (patch)
treeca82524e672f03fc9698133624e70de312502ded /libempathy-gtk/empathy-individual-view.h
parent3f23b6d1c7a04cf288872cf975cdb81da1325289 (diff)
downloadgsoc2013-empathy-9bee6ee28d745736a6c5c9b0cd26041575da9b73.tar
gsoc2013-empathy-9bee6ee28d745736a6c5c9b0cd26041575da9b73.tar.gz
gsoc2013-empathy-9bee6ee28d745736a6c5c9b0cd26041575da9b73.tar.bz2
gsoc2013-empathy-9bee6ee28d745736a6c5c9b0cd26041575da9b73.tar.lz
gsoc2013-empathy-9bee6ee28d745736a6c5c9b0cd26041575da9b73.tar.xz
gsoc2013-empathy-9bee6ee28d745736a6c5c9b0cd26041575da9b73.tar.zst
gsoc2013-empathy-9bee6ee28d745736a6c5c9b0cd26041575da9b73.zip
Add an EmpathyIndividualView::drag-individual-received signal
Subclasses or users of the widget can then override this and stop the signal emission to do new and interesting things with dropped Individuals, rather than just changing their groups.
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.h')
-rw-r--r--libempathy-gtk/empathy-individual-view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-view.h b/libempathy-gtk/empathy-individual-view.h
index a87848408..babe0a939 100644
--- a/libempathy-gtk/empathy-individual-view.h
+++ b/libempathy-gtk/empathy-individual-view.h
@@ -73,6 +73,12 @@ struct _EmpathyIndividualView
struct _EmpathyIndividualViewClass
{
GtkTreeViewClass parent_class;
+
+ void (* drag_individual_received) (EmpathyIndividualView *self,
+ GdkDragAction action,
+ FolksIndividual *individual,
+ const gchar *new_group,
+ const gchar *old_group);
};
GType empathy_individual_view_get_type (void) G_GNUC_CONST;