[gnome-contacts] Don't add demo email addresses



commit f8f529598df55f43533f99982730ddb2fc7e5f6d
Author: Alexander Larsson <alexl redhat com>
Date:   Fri May 27 14:51:57 2011 +0200

    Don't add demo email addresses

 src/contacts-app.vala |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)
---
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index 2bcd12b..d90fb35 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -245,7 +245,7 @@ public class Contacts.App : Window {
 
     DetailsRow row;
     var emails = contact.individual.email_addresses;
-    if (!emails.is_empty || true) {
+    if (!emails.is_empty) {
       add_label_spacer ();
       add_header (_("Email"));
       foreach (var p in emails) {
@@ -264,20 +264,6 @@ public class Contacts.App : Window {
 	    }
 	  });
       }
-      add_string_label ("Home", "test example com", "mail-unread-symbolic", out row);
-      row.clickable.clicked.connect ( () => {
-	  try {
-	    Gtk.show_uri (null, "mailto:"; + Uri.escape_string ("test example com", "@" , false), 0);
-	  } catch {
-	  }
-	});
-      add_string_label ("Work", "lazy example com", "mail-unread-symbolic", out row);
-      row.clickable.clicked.connect ( () => {
-	  try {
-	    Gtk.show_uri (null, "mailto:"; + Uri.escape_string ("lazy example com", "@" , false), 0);
-	  } catch {
-	  }
-	});
     }
 
     var ims = contact.individual.im_addresses;



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