[folks/wip/arbitrary-field-interface] Use extended-info not extended_info



commit 76eb7b029117ef021cfe620128adfd3d3a0f80b7
Author: Rodrigo Moya <rodrigo moya collabora co uk>
Date:   Wed Sep 25 10:07:59 2013 +0200

    Use extended-info not extended_info

 backends/eds/lib/edsf-persona-store.vala |    2 +-
 folks/individual.vala                    |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala
index ca627e6..b533e5d 100644
--- a/backends/eds/lib/edsf-persona-store.vala
+++ b/backends/eds/lib/edsf-persona-store.vala
@@ -1702,7 +1702,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
               string param_name = param.get_name ();
               foreach (unowned string param_value in param.get_values ())
                 {
-                  details.add_parameter (param_name, param_name);
+                  details.add_parameter (param_name, param_value);
                 }
             }
 
diff --git a/folks/individual.vala b/folks/individual.vala
index 930533e..5b88dba 100644
--- a/folks/individual.vala
+++ b/folks/individual.vala
@@ -967,7 +967,7 @@ public class Folks.Individual : Object,
     {
       debug ("Getting extended field '%s' on '%s'…", name, this.id);
 
-      /* Try to get it from the writeable Personas which have "extended_info"
+      /* Try to get it from the writeable Personas which have "extended-info"
        * as a writeable property. */
       foreach (var p in this._persona_set)
         {
@@ -994,11 +994,11 @@ public class Folks.Individual : Object,
       PropertyError? persona_error = null;
       var prop_changed = false;
 
-         /* Try to write it to only the writeable Personas which have "extended_info"
+         /* Try to write it to only the writeable Personas which have "extended-info"
        * as a writeable property. */
       foreach (var p in this._persona_set)
         {
-          if ("extended_info" in p.writeable_properties)
+          if ("extended-info" in p.writeable_properties)
             {
               var e = p as ExtendedInfo;
               try


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]