[evolution-data-server] Bug #668989 - Add a twitter username to IM in contacts
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #668989 - Add a twitter username to IM in contacts
- Date: Thu, 26 Apr 2012 11:46:42 +0000 (UTC)
commit b87121811d75f4f7738d617381d8b1ce3bb12c0f
Author: Milan Crha <mcrha redhat com>
Date: Thu Apr 26 13:46:11 2012 +0200
Bug #668989 - Add a twitter username to IM in contacts
addressbook/libebook/e-contact.c | 2 ++
addressbook/libebook/e-contact.h | 2 ++
addressbook/libebook/e-vcard.h | 8 ++++++++
3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libebook/e-contact.c b/addressbook/libebook/e-contact.c
index 71354ed..90ce263 100644
--- a/addressbook/libebook/e-contact.c
+++ b/addressbook/libebook/e-contact.c
@@ -316,6 +316,8 @@ static const EContactFieldInfo field_info[] = {
ATTR_TYPE_STR_FIELD (E_CONTACT_IM_GOOGLE_TALK_WORK_2, EVC_X_GOOGLE_TALK, "im_google_talk_work_2", N_("Google Talk Work Name 2"), FALSE, "WORK", 1),
ATTR_TYPE_STR_FIELD (E_CONTACT_IM_GOOGLE_TALK_WORK_3, EVC_X_GOOGLE_TALK, "im_google_talk_work_3", N_("Google Talk Work Name 3"), FALSE, "WORK", 2),
MULTI_LIST_FIELD (E_CONTACT_IM_GOOGLE_TALK, EVC_X_GOOGLE_TALK, "im_google_talk", N_("Google Talk Name List"), FALSE),
+
+ MULTI_LIST_FIELD (E_CONTACT_IM_TWITTER, EVC_X_TWITTER, "im_twitter", N_("Twitter Name List"), FALSE)
};
#undef LIST_ELEM_STR_FIELD
diff --git a/addressbook/libebook/e-contact.h b/addressbook/libebook/e-contact.h
index 7ca9c60..71c2fe2 100644
--- a/addressbook/libebook/e-contact.h
+++ b/addressbook/libebook/e-contact.h
@@ -215,6 +215,8 @@ typedef enum {
E_CONTACT_IM_GOOGLE_TALK_WORK_3, /* Synthetic string field */
E_CONTACT_IM_GOOGLE_TALK, /* Multi-valued */
+ E_CONTACT_IM_TWITTER, /* Multi-valued */
+
E_CONTACT_FIELD_LAST,
E_CONTACT_FIELD_FIRST = E_CONTACT_UID,
diff --git a/addressbook/libebook/e-vcard.h b/addressbook/libebook/e-vcard.h
index 351fc6b..aa27206 100644
--- a/addressbook/libebook/e-vcard.h
+++ b/addressbook/libebook/e-vcard.h
@@ -111,6 +111,14 @@ G_BEGIN_DECLS
#define EVC_X_GOOGLE_TALK "X-GOOGLE_TALK"
/**
+ * EVC_X_TWITTER
+ * Twitter name(s).
+ *
+ * Since: 3.6
+ **/
+#define EVC_X_TWITTER "X-TWITTER"
+
+/**
* EVC_X_SIP:
*
* Since: 2.26
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]