aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-24 19:57:37 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-27 17:23:48 +0800
commit5b5f330cef05c8ebaa5ded6c74992910d7d85999 (patch)
tree407e6bdc19124e7f6896dc5a269457977b3c887d /libempathy-gtk/empathy-individual-view.h
parenta1aea4b698a537c046e53215d2a64259b97cd935 (diff)
downloadgsoc2013-empathy-5b5f330cef05c8ebaa5ded6c74992910d7d85999.tar
gsoc2013-empathy-5b5f330cef05c8ebaa5ded6c74992910d7d85999.tar.gz
gsoc2013-empathy-5b5f330cef05c8ebaa5ded6c74992910d7d85999.tar.bz2
gsoc2013-empathy-5b5f330cef05c8ebaa5ded6c74992910d7d85999.tar.lz
gsoc2013-empathy-5b5f330cef05c8ebaa5ded6c74992910d7d85999.tar.xz
gsoc2013-empathy-5b5f330cef05c8ebaa5ded6c74992910d7d85999.tar.zst
gsoc2013-empathy-5b5f330cef05c8ebaa5ded6c74992910d7d85999.zip
Add an EmpathyIndividualView feature for changing Individuals' groups
This separates drag and drop support from changing groups, so that EmpathyIndividualView instances (such as the one in the linking dialogue) may support dragging and dropping Individuals to and from another tree view, but not support dragging them between groups inside the EmpathyIndividualView instance. Helps: bgo#627715
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.h')
-rw-r--r--libempathy-gtk/empathy-individual-view.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-individual-view.h b/libempathy-gtk/empathy-individual-view.h
index 4a581c35c..6a65c7efa 100644
--- a/libempathy-gtk/empathy-individual-view.h
+++ b/libempathy-gtk/empathy-individual-view.h
@@ -53,12 +53,15 @@ typedef enum
EMPATHY_INDIVIDUAL_VIEW_FEATURE_GROUPS_SAVE = 1 << 0,
EMPATHY_INDIVIDUAL_VIEW_FEATURE_GROUPS_RENAME = 1 << 1,
EMPATHY_INDIVIDUAL_VIEW_FEATURE_GROUPS_REMOVE = 1 << 2,
- EMPATHY_INDIVIDUAL_VIEW_FEATURE_CONTACT_REMOVE = 1 << 3,
- EMPATHY_INDIVIDUAL_VIEW_FEATURE_CONTACT_DROP = 1 << 4,
- EMPATHY_INDIVIDUAL_VIEW_FEATURE_CONTACT_DRAG = 1 << 5,
- EMPATHY_INDIVIDUAL_VIEW_FEATURE_CONTACT_TOOLTIP = 1 << 6,
- EMPATHY_INDIVIDUAL_VIEW_FEATURE_FILE_DROP = 1 << 7,
- EMPATHY_INDIVIDUAL_VIEW_FEATURE_ALL = (1 << 8) - 1,
+ /* NOTE: For this to behave as expected, FEATURE_CONTACT_DRAG and
+ * FEATURE_CONTACT_DROP should also be specified. */
+ EMPATHY_INDIVIDUAL_VIEW_FEATURE_GROUPS_CHANGE = 1 << 3,
+ EMPATHY_INDIVIDUAL_VIEW_FEATURE_CONTACT_REMOVE = 1 << 4,
+ EMPATHY_INDIVIDUAL_VIEW_FEATURE_CONTACT_DROP = 1 << 5,
+ EMPATHY_INDIVIDUAL_VIEW_FEATURE_CONTACT_DRAG = 1 << 6,
+ EMPATHY_INDIVIDUAL_VIEW_FEATURE_CONTACT_TOOLTIP = 1 << 7,
+ EMPATHY_INDIVIDUAL_VIEW_FEATURE_FILE_DROP = 1 << 8,
+ EMPATHY_INDIVIDUAL_VIEW_FEATURE_ALL = (1 << 9) - 1,
} EmpathyIndividualViewFeatureFlags;
struct _EmpathyIndividualView