/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
- * Copyright (C) 2007 Collabora Ltd.
+ * Copyright (C) 2007-2008 Collabora Ltd.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
G_BEGIN_DECLS
-typedef enum {
- EMPATHY_CONTACT_WIDGET_EDIT_NONE = 0,
- EMPATHY_CONTACT_WIDGET_EDIT_ALIAS = 1 << 0,
- EMPATHY_CONTACT_WIDGET_EDIT_AVATAR = 1 << 1,
- EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT = 1 << 2,
- EMPATHY_CONTACT_WIDGET_EDIT_ID = 1 << 3,
- EMPATHY_CONTACT_WIDGET_EDIT_GROUPS = 1 << 4,
+typedef enum
+{
+ EMPATHY_CONTACT_WIDGET_EDIT_NONE = 0,
+ EMPATHY_CONTACT_WIDGET_EDIT_ALIAS = 1 << 0,
+ EMPATHY_CONTACT_WIDGET_EDIT_AVATAR = 1 << 1,
+ EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT = 1 << 2,
+ EMPATHY_CONTACT_WIDGET_EDIT_ID = 1 << 3,
+ EMPATHY_CONTACT_WIDGET_EDIT_GROUPS = 1 << 4,
+ EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP = 1 << 5,
} EmpathyContactWidgetFlags;
-GtkWidget * empathy_contact_widget_new (EmpathyContact *contact,
- EmpathyContactWidgetFlags flags);
-EmpathyContact *empathy_contact_widget_get_contact (GtkWidget *widget);
-void empathy_contact_widget_set_contact (GtkWidget *widget,
- EmpathyContact *contact);
-void empathy_contact_widget_set_account_filter (GtkWidget *widget,
- EmpathyAccountChooserFilterFunc filter,
- gpointer user_data);
+GtkWidget * empathy_contact_widget_new (EmpathyContact *contact,
+ EmpathyContactWidgetFlags flags);
+EmpathyContact *empathy_contact_widget_get_contact (GtkWidget *widget);
+void empathy_contact_widget_set_contact (GtkWidget *widget,
+ EmpathyContact *contact);
+void empathy_contact_widget_set_account_filter (GtkWidget *widget,
+ EmpathyAccountChooserFilterFunc filter, gpointer user_data);
G_END_DECLS