diff options
author | Devashish Sharma <dsharma@src.gnome.org> | 2006-07-24 21:06:20 +0800 |
---|---|---|
committer | Devashish Sharma <dsharma@src.gnome.org> | 2006-07-24 21:06:20 +0800 |
commit | cd009b33d7b82d4965d5b43953f2b191c67b40dd (patch) | |
tree | 8a38840b956e65178c6c1e188f8ef701dd1573c7 | |
parent | 3a4f1cbc3aeff201b997b96190b36b42a41caffe (diff) | |
download | gsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.tar.gz gsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.tar.zst gsoc2013-evolution-cd009b33d7b82d4965d5b43953f2b191c67b40dd.zip |
Added support for gadu gadu im in contact entry.
svn path=/trunk/; revision=32407
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor-im.c | 2 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 2 | ||||
-rw-r--r-- | addressbook/gui/widgets/eab-contact-display.c | 2 | ||||
-rw-r--r-- | plugins/bbdb/gaimbuddies.c | 2 |
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; } |