[gnome-contacts] Use canonical property names to ensure that we get notifications as needed



commit c0a43a23a6b60717949c068723f690229d473c55
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Aug 25 16:19:08 2011 +0200

    Use canonical property names to ensure that we get notifications as needed

 src/contacts-contact-pane.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 41637f8..03cc775 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -518,7 +518,7 @@ public class Contacts.ContactPane : EventBox {
 		       TypeSet.general,
 		       detail_set,
 		       email != null ? new EmailFieldDetails (email.value, email.parameters) : new EmailFieldDetails(""),
-		       "email_addresses",
+		       "email-addresses",
 		       _("Enter email address"));
   }
 
@@ -529,7 +529,7 @@ public class Contacts.ContactPane : EventBox {
 		       TypeSet.phone,
 		       detail_set,
 		       p != null ? new PhoneFieldDetails (p.value, p.parameters) : new PhoneFieldDetails(""),
-		       "phone_numbers",
+		       "phone-numbers",
 		       _("Enter phone number"));
   }
 
@@ -561,11 +561,11 @@ public class Contacts.ContactPane : EventBox {
 			       detail_set,
 			       detail,
 			       props[i],
-			       "postal_addresses",
+			       "postal-addresses",
 			       nice[i]);
     }
     layout.end_detail_box ();
-    var button = add_detail_remove (layout, detail_set, detail, "postal_addresses");
+    var button = add_detail_remove (layout, detail_set, detail, "postal-addresses");
     button.set_valign (Align.START);
   }
 



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