[gnome-contacts] View: added frame around avatars
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] View: added frame around avatars
- Date: Mon, 2 Jun 2014 17:45:24 +0000 (UTC)
commit e7a5d258df820214e02b7b1a4a823357ff4dcb96
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Sat May 31 13:57:47 2014 -0400
View: added frame around avatars
Fixed: https://bugzilla.gnome.org/show_bug.cgi?id=727847
src/contacts-view.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-view.vala b/src/contacts-view.vala
index c52008c..399407e 100644
--- a/src/contacts-view.vala
+++ b/src/contacts-view.vala
@@ -38,6 +38,9 @@ public class Contacts.View : ListBox {
grid.margin = 6;
grid.set_column_spacing (10);
image_frame = new ContactFrame (Contact.LIST_AVATAR_SIZE);
+ image_frame.set_shadow_type (ShadowType.IN);
+ image_frame.get_style_context ().add_class ("main-avatar-frame");
+
label = new Label ("");
label.set_ellipsize (Pango.EllipsizeMode.END);
label.set_valign (Align.CENTER);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]