[gnome-contacts] Contacts.Pane: draw a frame around the avatar
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Contacts.Pane: draw a frame around the avatar
- Date: Thu, 15 Aug 2013 17:07:27 +0000 (UTC)
commit 1929c64a8970c102bc45f300891fe6a0a0ba2582
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Thu Aug 15 12:58:05 2013 -0400
Contacts.Pane: draw a frame around the avatar
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=699462
src/contacts-contact-sheet.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-contact-sheet.vala b/src/contacts-contact-sheet.vala
index a25a29c..be7d1e7 100644
--- a/src/contacts-contact-sheet.vala
+++ b/src/contacts-contact-sheet.vala
@@ -77,6 +77,8 @@ public class Contacts.ContactSheet : Grid {
public void update (Contact c) {
var image_frame = new ContactFrame (PROFILE_SIZE);
+ image_frame.get_style_context ().add_class ("main-avatar-frame");
+ image_frame.set_shadow_type (ShadowType.IN);
image_frame.set_vexpand (false);
image_frame.set_valign (Align.START);
c.keep_widget_uptodate (image_frame, (w) => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]