[folks] Rename Urlable -> UrlDetails
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Rename Urlable -> UrlDetails
- Date: Fri, 11 Mar 2011 19:38:10 +0000 (UTC)
commit 495af30846165cbed89545bf844af9266b7797d0
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Mar 10 17:11:48 2011 -0800
Rename Urlable -> UrlDetails
Fixes bgo#642513 - Folks "Owner" interfaces are awkwardly-named
NEWS | 1 +
folks/Makefile.am | 2 +-
folks/individual.vala | 8 ++++----
folks/{urlable.vala => url-details.vala} | 2 +-
4 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/NEWS b/NEWS
index 0f1ef39..a50cf32 100644
--- a/NEWS
+++ b/NEWS
@@ -37,6 +37,7 @@ API changes:
* Rename NameOwner -> NameDetails
* Rename Phoneable -> PhoneDetails
* Rename PresenceOwner -> PresenceDetails
+* Rename Urlable -> UrlDetails
Overview of changes from libfolks 0.3.5 to libfolks 0.3.6
=========================================================
diff --git a/folks/Makefile.am b/folks/Makefile.am
index 0c70454..4700b6b 100644
--- a/folks/Makefile.am
+++ b/folks/Makefile.am
@@ -29,13 +29,13 @@ libfolks_la_SOURCES = \
postal-address-details.vala \
presence-details.vala \
role-details.vala \
+ url-details.vala \
individual.vala \
individual-aggregator.vala \
linked-hash-set.vala \
persona.vala \
persona-store.vala \
types.vala \
- urlable.vala \
debug.vala \
$(NULL)
diff --git a/folks/individual.vala b/folks/individual.vala
index a260c84..ab16b2e 100644
--- a/folks/individual.vala
+++ b/folks/individual.vala
@@ -77,7 +77,7 @@ public class Folks.Individual : Object,
PhoneDetails,
PostalAddressDetails,
RoleDetails,
- Urlable
+ UrlDetails
{
private bool _is_favourite;
private string _alias;
@@ -1066,10 +1066,10 @@ public class Folks.Individual : Object,
foreach (var persona in this._persona_list)
{
- var urlable = persona as Urlable;
- if (urlable != null)
+ var url_details = persona as UrlDetails;
+ if (url_details != null)
{
- foreach (unowned FieldDetails ps in urlable.urls)
+ foreach (unowned FieldDetails ps in url_details.urls)
{
if (ps.value == null)
continue;
diff --git a/folks/urlable.vala b/folks/url-details.vala
similarity index 96%
rename from folks/urlable.vala
rename to folks/url-details.vala
index 005ebb8..80ac343 100644
--- a/folks/urlable.vala
+++ b/folks/url-details.vala
@@ -26,7 +26,7 @@ using GLib;
*
* @since 0.3.5
*/
-public interface Folks.Urlable : Object
+public interface Folks.UrlDetails : Object
{
/**
* The websites of the contact.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]