[gnome-contacts] Removing button from contact avatar in non-edit mode.



commit 837a2fa7a19b3621e15a69db0ad77351b99248de
Author: Erick PÃrez Castellanos <erick red gmail com>
Date:   Thu Jan 10 15:26:20 2013 -0500

    Removing button from contact avatar in non-edit mode.

 src/contacts-contact-sheet.vala |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/contacts-contact-sheet.vala b/src/contacts-contact-sheet.vala
index 3cafd86..cd24dc0 100644
--- a/src/contacts-contact-sheet.vala
+++ b/src/contacts-contact-sheet.vala
@@ -70,12 +70,9 @@ public class Contacts.ContactSheet : Grid {
   }
 
   public void update (Contact c) {
-    var image_frame = new ContactFrame (PROFILE_SIZE, true);
+    var image_frame = new ContactFrame (PROFILE_SIZE);
     image_frame.set_vexpand (false);
     image_frame.set_valign (Align.START);
-    image_frame.clicked.connect ( () => {
-	change_avatar (c, image_frame);
-      });
     c.keep_widget_uptodate (image_frame,  (w) => {
 	(w as ContactFrame).set_image (c.individual, c);
       });



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