[gnome-contacts] Remove Alias from details
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Remove Alias from details
- Date: Fri, 17 Jun 2011 14:08:02 +0000 (UTC)
commit cf6c103df0b53ea1c6f96722ceab8c43aa3c7e2f
Author: Alexander Larsson <alexl redhat com>
Date: Fri Jun 17 13:03:03 2011 +0200
Remove Alias from details
src/contacts-contact-pane.vala | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 099157e..ca96506 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -75,19 +75,6 @@ class DetailsLayout : Object {
add_detail (val);
}
- public bool add_string_property (string label, Object object, string pname) {
- Value prop_value;
- prop_value = Value (typeof (string));
- object.get_property (pname, ref prop_value);
- string val = prop_value.get_string ();
-
- if (val == null || val.length == 0)
- return false;
-
- add_label_detail (label, val);
- return true;
- }
-
public void add_link (string uri, string text) {
var v = new LinkButton.with_label (uri, text);
v.set_valign (Align.CENTER);
@@ -299,8 +286,6 @@ public class Contacts.ContactPane : EventBox {
}
}
- layout.add_string_property (_("Alias"), contact.individual, "alias");
-
var urls = contact.individual.urls;
if (!urls.is_empty) {
layout.add_label ("Links");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]