aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor-im.c2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c2
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c2
-rw-r--r--plugins/bbdb/gaimbuddies.c2
5 files changed, 14 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index d68a1b7797..6025eacae1 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-24 Devashish Sharma <sdevashish@novell.com>
+
+ * gui/contact-editor/e-contact-editor.c:
+ * gui/contact-editor/e-contact-editor-im.c: Added support for gadu gadu im
+ in contact entry.
+
2006-07-22 Mikhail Zabaluev <mhz@altlinux.org>
Reviewed by Harish Krishnaswamy <kharish@novell.com>
diff --git a/addressbook/gui/contact-editor/e-contact-editor-im.c b/addressbook/gui/contact-editor/e-contact-editor-im.c
index 08925aeb78..cb807353db 100644
--- a/addressbook/gui/contact-editor/e-contact-editor-im.c
+++ b/addressbook/gui/contact-editor/e-contact-editor-im.c
@@ -64,6 +64,7 @@ static const char *im_labels[] = {
N_("Novell Groupwise"),
N_("Jabber"),
N_("Yahoo Messenger"),
+ N_("Gadu-Gadu Messenger"),
N_("MSN Messenger"),
N_("ICQ")
};
@@ -73,6 +74,7 @@ static const char *im_images[] = {
"im-nov",
"im-jabber",
"im-yahoo",
+ "im-gadugadu",
"im-msn",
"im-icq"
};
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 9d736573b7..b40f780564 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -186,6 +186,7 @@ im_service [] =
{ E_CONTACT_IM_AIM, N_ ("AIM") },
{ E_CONTACT_IM_JABBER, N_ ("Jabber") },
{ E_CONTACT_IM_YAHOO, N_ ("Yahoo") },
+ { E_CONTACT_IM_GADUGADU, N_ ("Gadu-Gadu") },
{ E_CONTACT_IM_MSN, N_ ("MSN") },
{ E_CONTACT_IM_ICQ, N_ ("ICQ") },
{ E_CONTACT_IM_GROUPWISE, N_ ("GroupWise") }
@@ -3059,6 +3060,7 @@ static const EContactField non_string_fields [] = {
E_CONTACT_IM_GROUPWISE,
E_CONTACT_IM_JABBER,
E_CONTACT_IM_YAHOO,
+ E_CONTACT_IM_GADUGADU,
E_CONTACT_IM_MSN,
E_CONTACT_IM_ICQ,
E_CONTACT_PHOTO,
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index f9d85c9c7f..9729b97eb4 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -71,6 +71,7 @@ common_location [] =
#define JABBER_ICON "im-jabber"
#define MSN_ICON "im-msn"
#define YAHOO_ICON "im-yahoo"
+#define GADUGADU_ICON "im-gadugadu"
#define VIDEOCONF_ICON "stock_video-conferencing"
#define MAX_COMPACT_IMAGE_DIMENSION 48
@@ -558,6 +559,7 @@ render_contact (GtkHTMLStream *html_stream, EContact *contact)
accum_multival_attribute (accum, contact, _("Jabber"), E_CONTACT_IM_JABBER, JABBER_ICON, 0);
accum_multival_attribute (accum, contact, _("MSN"), E_CONTACT_IM_MSN, MSN_ICON, 0);
accum_multival_attribute (accum, contact, _("Yahoo"), E_CONTACT_IM_YAHOO, YAHOO_ICON, 0);
+ accum_multival_attribute (accum, contact, _("Gadu-Gadu"), E_CONTACT_IM_GADUGADU, GADUGADU_ICON, 0);
if (accum->len > 0)
gtk_html_stream_printf (html_stream, "%s", accum->str);
diff --git a/plugins/bbdb/gaimbuddies.c b/plugins/bbdb/gaimbuddies.c
index 76ef1a0f2c..51ca8bcec7 100644
--- a/plugins/bbdb/gaimbuddies.c
+++ b/plugins/bbdb/gaimbuddies.c
@@ -287,6 +287,8 @@ proto_to_contact_field (const char *proto)
return E_CONTACT_IM_YAHOO;
if (! strcmp (proto, "prpl-jabber"))
return E_CONTACT_IM_JABBER;
+ if (! strcmp (proto, "prpl-gg"))
+ return E_CONTACT_IM_GADUGADU;
return E_CONTACT_IM_AIM;
}