aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-07-24 21:06:20 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-07-24 21:06:20 +0800
commitcd009b33d7b82d4965d5b43953f2b191c67b40dd (patch)
tree8a38840b956e65178c6c1e188f8ef701dd1573c7 /addressbook
parent3a4f1cbc3aeff201b997b96190b36b42a41caffe (diff)
downloadgsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.tar
gsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.tar.gz
gsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.tar.bz2
gsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.tar.lz
gsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.tar.xz
gsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.tar.zst
gsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.zip
Added support for gadu gadu im in contact entry.
svn path=/trunk/; revision=32407
Diffstat (limited to 'addressbook')
-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
4 files changed, 12 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);