[gnome-contacts] Make each link have its own label in edit mode
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Make each link have its own label in edit mode
- Date: Mon, 19 Sep 2011 12:03:20 +0000 (UTC)
commit 07694769ca6861d665ad387243e44e48804413b9
Author: Alexander Larsson <alexl redhat com>
Date: Mon Sep 19 14:02:46 2011 +0200
Make each link have its own label in edit mode
Fixes #659222
src/contacts-contact-pane.vala | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 025c010..87da378 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -644,9 +644,7 @@ public class Contacts.ContactPane : Grid {
private Widget add_url_editor (DetailsLayout layout,
Set<AbstractFieldDetails> detail_set,
UrlFieldDetails? url) {
- if (layout.grid.get_children ().length () == 0)
- layout.add_label (_("Links"));
-
+ layout.add_label (C_ ("url-link", "Link"));
return add_detail_editor_no_type (layout,
detail_set,
url != null ? new UrlFieldDetails (url.value, url.parameters) : new UrlFieldDetails (""),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]