[folks] Rename NoteOwner -> NoteDetails
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Rename NoteOwner -> NoteDetails
- Date: Fri, 11 Mar 2011 19:37:44 +0000 (UTC)
commit e6c6b6aaa90ef15fdc42d317b5089cf9a833d7bc
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Mar 10 16:34:44 2011 -0800
Rename NoteOwner -> NoteDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
NEWS | 2 +-
folks/Makefile.am | 2 +-
folks/individual.vala | 8 ++++----
folks/{note-owner.vala => note-details.vala} | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/NEWS b/NEWS
index 42aee36..0d86b65 100644
--- a/NEWS
+++ b/NEWS
@@ -21,7 +21,7 @@ Bugs fixed:
API changes:
* Add RoleOwner interface
* Add BirthdayDetails interface
-* Add NoteOwner interface
+* Add NoteDetails interface
* Add PostalAddressOwner interface
* Add PostalAddressOwner.uid as a convenience for backends
* Add PostalAddress.equal()
diff --git a/folks/Makefile.am b/folks/Makefile.am
index 919e2ac..c5efb47 100644
--- a/folks/Makefile.am
+++ b/folks/Makefile.am
@@ -24,6 +24,7 @@ libfolks_la_SOURCES = \
group-details.vala \
im-details.vala \
name-details.vala \
+ note-details.vala \
presence-owner.vala \
individual.vala \
individual-aggregator.vala \
@@ -36,7 +37,6 @@ libfolks_la_SOURCES = \
urlable.vala \
debug.vala \
role-owner.vala \
- note-owner.vala \
$(NULL)
libfolks_la_VALAFLAGS = \
diff --git a/folks/individual.vala b/folks/individual.vala
index 05d530b..0e553c2 100644
--- a/folks/individual.vala
+++ b/folks/individual.vala
@@ -72,7 +72,7 @@ public class Folks.Individual : Object,
GroupDetails,
ImDetails,
NameDetails,
- NoteOwner,
+ NoteDetails,
PresenceOwner,
Phoneable,
PostalAddressOwner,
@@ -1239,10 +1239,10 @@ public class Folks.Individual : Object,
foreach (var persona in this._persona_list)
{
- var note_owner = persona as NoteOwner;
- if (note_owner != null)
+ var note_details = persona as NoteDetails;
+ if (note_details != null)
{
- foreach (var n in note_owner.notes)
+ foreach (var n in note_details.notes)
{
notes.add (n);
}
diff --git a/folks/note-owner.vala b/folks/note-details.vala
similarity index 97%
rename from folks/note-owner.vala
rename to folks/note-details.vala
index 93ea6fc..0d398c7 100644
--- a/folks/note-owner.vala
+++ b/folks/note-details.vala
@@ -81,7 +81,7 @@ public class Folks.Note : Object
*
* @since 0.3.UNRELEASED
*/
-public interface Folks.NoteOwner : Object
+public interface Folks.NoteDetails : Object
{
/**
* The notes about the contact.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]