summaryrefslogtreecommitdiff
path: root/src/contacts-link-suggestion-grid.vala
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-01-16 16:03:05 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2018-01-16 16:03:05 +0100
commitdb8c55a8e4c76e89afa90243b048f820b7ea38e6 (patch)
tree996168d2d78f87ddac26343696905f59f48b8efa /src/contacts-link-suggestion-grid.vala
parent0c97a75c6af52b3e08653fc301aaa01753f88a9c (diff)
downloadgnome-contacts-db8c55a8e4c76e89afa90243b048f820b7ea38e6.tar.gz
Rename ContactFrame to Avatar.
It's shorter *and* it's more obvious.
Diffstat (limited to 'src/contacts-link-suggestion-grid.vala')
-rw-r--r--src/contacts-link-suggestion-grid.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contacts-link-suggestion-grid.vala b/src/contacts-link-suggestion-grid.vala
index e8733b5..03994ae 100644
--- a/src/contacts-link-suggestion-grid.vala
+++ b/src/contacts-link-suggestion-grid.vala
@@ -42,11 +42,11 @@ public class Contacts.LinkSuggestionGrid : Grid {
public LinkSuggestionGrid (Contact contact) {
get_style_context ().add_class ("contacts-suggestion");
- var image_frame = new ContactFrame (Contact.SMALL_AVATAR_SIZE);
+ var image_frame = new Avatar (Contact.SMALL_AVATAR_SIZE);
image_frame.hexpand = false;
image_frame.margin = 12;
contact.keep_widget_uptodate (image_frame, (w) => {
- (w as ContactFrame).set_image (contact.individual, contact);
+ (w as Avatar).set_image (contact.individual, contact);
});
image_frame.show ();
attach (image_frame, 0, 0, 1, 2);