[Galago-commits] r2376 - in trunk/eds-feed: . src
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Wed Dec 14 00:28:19 PST 2005
Author: chipx86
Date: 2005-12-14 00:28:17 -0800 (Wed, 14 Dec 2005)
New Revision: 2376
Modified:
trunk/eds-feed/ChangeLog
trunk/eds-feed/src/main.c
Log:
Updated to move to the Object Attributes model.
Modified: trunk/eds-feed/ChangeLog
===================================================================
--- trunk/eds-feed/ChangeLog 2005-12-14 08:28:08 UTC (rev 2375)
+++ trunk/eds-feed/ChangeLog 2005-12-14 08:28:17 UTC (rev 2376)
@@ -1,3 +1,8 @@
+Wed Dec 14 00:28:14 PST 2005 Christian Hammond <chipx86 at chipx86.com>
+
+ * src/main.c:
+ - Updated to move to the Object Attributes model.
+
Sun Nov 27 21:06:14 PST 2005 Christian Hammond <chipx86 at chipx86.com>
* src/main.c:
Modified: trunk/eds-feed/src/main.c
===================================================================
--- trunk/eds-feed/src/main.c 2005-12-14 08:28:08 UTC (rev 2375)
+++ trunk/eds-feed/src/main.c 2005-12-14 08:28:17 UTC (rev 2376)
@@ -124,15 +124,15 @@
}
static void
-set_properties(GalagoPerson *person, EContact *contact)
+set_attributes(GalagoPerson *person, EContact *contact)
{
EContactName *contact_name;
const EContactPhoto *ephoto;
GalagoImage *photo = NULL;
- galago_person_set_property_string(person,
- GALAGO_PERSON_PROP_UID,
- galago_person_get_id(person));
+ galago_object_set_attr_string(GALAGO_OBJECT(person),
+ GALAGO_PERSON_ATTR_UID,
+ galago_person_get_id(person));
contact_name = e_contact_get(contact, E_CONTACT_NAME);
@@ -141,16 +141,16 @@
if (contact_name->given != NULL && *contact_name->given != '\0')
{
- galago_person_set_property_string(person,
- GALAGO_PERSON_PROP_FIRST_NAME,
- contact_name->given);
+ galago_object_set_attr_string(GALAGO_OBJECT(person),
+ GALAGO_PERSON_ATTR_FIRST_NAME,
+ contact_name->given);
}
if (contact_name->family != NULL && *contact_name->family != '\0')
{
- galago_person_set_property_string(person,
- GALAGO_PERSON_PROP_LAST_NAME,
- contact_name->family);
+ galago_object_set_attr_string(GALAGO_OBJECT(person),
+ GALAGO_PERSON_ATTR_LAST_NAME,
+ contact_name->family);
}
e_contact_name_free(contact_name);
@@ -181,7 +181,7 @@
person = galago_create_person(uid);
- set_properties(person, contact);
+ set_attributes(person, contact);
add_remove_accounts(person, contact, aim, E_CONTACT_IM_AIM);
add_remove_accounts(person, contact, groupwise, E_CONTACT_IM_GROUPWISE);
@@ -207,7 +207,7 @@
person = galago_create_person(uid);
- set_properties(person, contact);
+ set_attributes(person, contact);
add_accounts(person, contact, aim, E_CONTACT_IM_AIM);
add_accounts(person, contact, groupwise, E_CONTACT_IM_GROUPWISE);
More information about the galago-commits
mailing list