From e08756a59735e505d8bcb2d1c445501b2f523f8c Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 30 Apr 2012 14:12:49 +0200 Subject: [PATCH] Remove non-working avatar setting in new contact dialog (cherry picked from commit 969490c941c2f7dbb5954661987e8b49e5230414) --- src/contacts-new-contact-dialog.vala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/contacts-new-contact-dialog.vala b/src/contacts-new-contact-dialog.vala index 7237f68..90ca42d 100644 --- a/src/contacts-new-contact-dialog.vala +++ b/src/contacts-new-contact-dialog.vala @@ -66,19 +66,20 @@ public class Contacts.NewContactDialog : Dialog { frame.set_vexpand (false); var l = new Label (_("Add or \nselect a picture")); frame.add (l); - grid.attach (frame, 0, 0, 1, 2); + // Temporarily disable this as its not implemented yet + //grid.attach (frame, 0, 0, 1, 2); name_entry = new Entry (); name_entry.set_hexpand (true); name_entry.set_vexpand (false); name_entry.set_halign (Align.FILL); - grid.attach (name_entry, 1, 0, 2, 1); + grid.attach (name_entry, 0, 1, 3, 1); l = new Label (_("Contact Name")); l.set_halign (Align.START); l.set_vexpand (false); l.set_valign (Align.START); - grid.attach (l, 1, 1, 2, 1); + grid.attach (l, 0, 0, 2, 1); int y = 2;