diff plugins/gevolution/add_buddy_dialog.c @ 11054:bc700cc98b82

[gaim-migrate @ 12992] Patch #1218079 from Stanislav Brabec "Attached patch adds basic support for Novell Groupwise to Gaim Evolution integration." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 03 Jul 2005 06:42:16 +0000
parents 5cda52915a1f
children 1f70f265cf27
line wrap: on
line diff
--- a/plugins/gevolution/add_buddy_dialog.c	Sun Jul 03 06:12:50 2005 +0000
+++ b/plugins/gevolution/add_buddy_dialog.c	Sun Jul 03 06:42:16 2005 +0000
@@ -291,7 +291,7 @@
 	{
 		EContact *contact = E_CONTACT(c->data);
 		const char *name;
-		GList *aims, *jabbers, *yahoos, *msns, *icqs;
+		GList *aims, *jabbers, *yahoos, *msns, *icqs, *novells;
 
 		name = e_contact_get_const(contact, E_CONTACT_FULL_NAME);
 
@@ -300,9 +300,10 @@
 		yahoos  = e_contact_get(contact, E_CONTACT_IM_YAHOO);
 		msns    = e_contact_get(contact, E_CONTACT_IM_MSN);
 		icqs    = e_contact_get(contact, E_CONTACT_IM_ICQ);
+		novells = e_contact_get(contact, E_CONTACT_IM_GROUPWISE);
 
 		if (aims == NULL && jabbers == NULL && yahoos == NULL &&
-			msns == NULL && icqs == NULL)
+			msns == NULL && icqs == NULL && novells == NULL)
 		{
 			GtkTreeIter iter;
 
@@ -320,6 +321,7 @@
 			add_ims(dialog, contact, name, yahoos,  "prpl-yahoo");
 			add_ims(dialog, contact, name, msns,    "prpl-msn");
 			add_ims(dialog, contact, name, icqs,    "prpl-oscar");
+			add_ims(dialog, contact, name, novells, "prpl-novell");
 		}
 	}
 
@@ -361,7 +363,7 @@
 	{
 		EContact *contact = E_CONTACT(l->data);
 		const char *name;
-		GList *aims, *jabbers, *yahoos, *msns, *icqs;
+		GList *aims, *jabbers, *yahoos, *msns, *icqs, *novells;
 
 		name = e_contact_get_const(contact, E_CONTACT_FULL_NAME);
 
@@ -376,9 +378,10 @@
 		yahoos  = e_contact_get(contact, E_CONTACT_IM_YAHOO);
 		msns    = e_contact_get(contact, E_CONTACT_IM_MSN);
 		icqs    = e_contact_get(contact, E_CONTACT_IM_ICQ);
+		novells = e_contact_get(contact, E_CONTACT_IM_GROUPWISE);
 
 		if (aims == NULL && jabbers == NULL && yahoos == NULL &&
-			msns == NULL && icqs == NULL)
+			msns == NULL && icqs == NULL && novells == NULL)
 		{
 			GtkTreeIter iter;
 
@@ -396,6 +399,7 @@
 			add_ims(dialog, contact, name, yahoos,  "prpl-yahoo");
 			add_ims(dialog, contact, name, msns,    "prpl-msn");
 			add_ims(dialog, contact, name, icqs,    "prpl-oscar");
+			add_ims(dialog, contact, name, novells, "prpl-novell");
 		}
 	}
 }