aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-widget.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-19 20:05:36 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-20 02:15:20 +0800
commit48417775ef19cdb1ebe2ecd631953f431aa144b4 (patch)
treea3e854a6c59701f6aa1c9b010d1a26db0a510a30 /libempathy-gtk/empathy-individual-widget.h
parent8da7760544ee3c592f9a884a13b13103b3b5a674 (diff)
downloadgsoc2013-empathy-48417775ef19cdb1ebe2ecd631953f431aa144b4.tar
gsoc2013-empathy-48417775ef19cdb1ebe2ecd631953f431aa144b4.tar.gz
gsoc2013-empathy-48417775ef19cdb1ebe2ecd631953f431aa144b4.tar.bz2
gsoc2013-empathy-48417775ef19cdb1ebe2ecd631953f431aa144b4.tar.lz
gsoc2013-empathy-48417775ef19cdb1ebe2ecd631953f431aa144b4.tar.xz
gsoc2013-empathy-48417775ef19cdb1ebe2ecd631953f431aa144b4.tar.zst
gsoc2013-empathy-48417775ef19cdb1ebe2ecd631953f431aa144b4.zip
Expand EmpathyIndividualWidget
It's now a fully-fledged widget of its own, rather than a thin wrapper around EmpathyContactWidget. Closes: bgo#626728
Diffstat (limited to 'libempathy-gtk/empathy-individual-widget.h')
-rw-r--r--libempathy-gtk/empathy-individual-widget.h42
1 files changed, 20 insertions, 22 deletions
diff --git a/libempathy-gtk/empathy-individual-widget.h b/libempathy-gtk/empathy-individual-widget.h
index 89066f60d..a968d14f3 100644
--- a/libempathy-gtk/empathy-individual-widget.h
+++ b/libempathy-gtk/empathy-individual-widget.h
@@ -31,40 +31,38 @@ G_BEGIN_DECLS
/**
* EmpathyIndividualWidgetFlags:
- * @EMPATHY_INDIVIDUAL_WIDGET_EDIT_NONE: Don't show any widgets to edit any
- * details of the individual. This should be the option for widgets that merely
- * display information about an individual.
+ * @EMPATHY_INDIVIDUAL_WIDGET_NONE: Don't show any widgets to edit any
+ * details of the individual, or to display any extended details of the
+ * individual. This should be the option for widgets that merely display basic
+ * information about an individual.
* @EMPATHY_INDIVIDUAL_WIDGET_EDIT_ALIAS: Show a #GtkEntry allowing changes to
* the individual's alias.
- * @EMPATHY_INDIVIDUAL_WIDGET_EDIT_AVATAR: Show an #EmpathyAvatarChooser
- * allowing changes to the individual's avatar.
- * @EMPATHY_INDIVIDUAL_WIDGET_EDIT_ACCOUNT: Show an #EmpathyAccountChooser
- * allowing changes to the individual's account.
- * @EMPATHY_INDIVIDUAL_WIDGET_EDIT_ID: Show a #GtkEntry allowing changes to the
- * individual's identifier.
+ * @EMPATHY_INDIVIDUAL_WIDGET_EDIT_FAVOURITE: Show a checkbutton
+ * allowing changes to the individual's favourite status.
* @EMPATHY_INDIVIDUAL_WIDGET_EDIT_GROUPS: Show a widget to change the groups
* the individual is in.
* @EMPATHY_INDIVIDUAL_WIDGET_FOR_TOOLTIP: Make widgets more designed for a
- * tooltip. For example, make widgets not selectable.
+ * tooltip. For example, make labels not selectable.
+ * @EMPATHY_INDIVIDUAL_WIDGET_SHOW_LOCATION: Display the individual's current
+ * location textually or using a map (if compiled with libchamplain support).
+ * @EMPATHY_INDIVIDUAL_WIDGET_SHOW_DETAILS: Fetch and display extended vCard
+ * details of the individual, if the individual has them.
+ * @EMPATHY_INDIVIDUAL_WIDGET_SHOW_PERSONAS: List the #FolksPersona<!-- -->s
+ * contained in the individual.
*
* Flags used when creating an #EmpathyIndividualWidget to specify which
* features should be available.
*/
typedef enum
{
- EMPATHY_INDIVIDUAL_WIDGET_EDIT_NONE = 0,
+ EMPATHY_INDIVIDUAL_WIDGET_NONE = 0,
EMPATHY_INDIVIDUAL_WIDGET_EDIT_ALIAS = 1 << 0,
- EMPATHY_INDIVIDUAL_WIDGET_EDIT_AVATAR = 1 << 1,
- EMPATHY_INDIVIDUAL_WIDGET_EDIT_ACCOUNT = 1 << 2,
- EMPATHY_INDIVIDUAL_WIDGET_EDIT_ID = 1 << 3,
- EMPATHY_INDIVIDUAL_WIDGET_EDIT_GROUPS = 1 << 4,
- EMPATHY_INDIVIDUAL_WIDGET_FOR_TOOLTIP = 1 << 5,
- EMPATHY_INDIVIDUAL_WIDGET_SHOW_LOCATION = 1 << 6,
- EMPATHY_INDIVIDUAL_WIDGET_NO_SET_ALIAS = 1 << 7,
- EMPATHY_INDIVIDUAL_WIDGET_EDIT_FAVOURITE = 1 << 8,
- EMPATHY_INDIVIDUAL_WIDGET_SHOW_DETAILS = 1 << 9,
- EMPATHY_INDIVIDUAL_WIDGET_EDIT_DETAILS = 1 << 10,
- EMPATHY_INDIVIDUAL_WIDGET_SHOW_PERSONAS = 1 << 11,
+ EMPATHY_INDIVIDUAL_WIDGET_EDIT_FAVOURITE = 1 << 1,
+ EMPATHY_INDIVIDUAL_WIDGET_EDIT_GROUPS = 1 << 2,
+ EMPATHY_INDIVIDUAL_WIDGET_FOR_TOOLTIP = 1 << 3,
+ EMPATHY_INDIVIDUAL_WIDGET_SHOW_LOCATION = 1 << 4,
+ EMPATHY_INDIVIDUAL_WIDGET_SHOW_DETAILS = 1 << 5,
+ EMPATHY_INDIVIDUAL_WIDGET_SHOW_PERSONAS = 1 << 6,
} EmpathyIndividualWidgetFlags;
#define EMPATHY_TYPE_INDIVIDUAL_WIDGET (empathy_individual_widget_get_type ())