[gnome-contacts] Reordered alias field to be after nickname
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Reordered alias field to be after nickname
- Date: Mon, 5 Sep 2011 11:52:03 +0000 (UTC)
commit 6d209bb7bb140bdcbcebe568cacda6918336474d
Author: Alexander Larsson <alexl redhat com>
Date: Mon Sep 5 13:47:29 2011 +0200
Reordered alias field to be after nickname
src/contacts-contact-pane.vala | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 82fa500..3763f6f 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -692,6 +692,17 @@ public class Contacts.ContactPane : Grid {
}
}
+ var alias_layout = new DetailsLayout (layout_state);
+ fields_grid.add (alias_layout.grid);
+
+ var alias_details = persona as AliasDetails;
+ if (alias_details != null) {
+ var alias = alias_details.alias;
+ if (alias != null && alias != "") {
+ add_alias_editor (alias_layout, alias);
+ }
+ }
+
var email_layout = new DetailsLayout (layout_state);
fields_grid.add (email_layout.grid);
@@ -708,17 +719,6 @@ public class Contacts.ContactPane : Grid {
add_email_editor (email_layout,
editing_emails, null);
- var alias_layout = new DetailsLayout (layout_state);
- fields_grid.add (alias_layout.grid);
-
- var alias_details = persona as AliasDetails;
- if (alias_details != null) {
- var alias = alias_details.alias;
- if (alias != null && alias != "") {
- add_alias_editor (alias_layout, alias);
- }
- }
-
var im_layout = new DetailsLayout (layout_state);
fields_grid.add (im_layout.grid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]