[gnome-contacts] Keep avatar up to date with contact changes
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Keep avatar up to date with contact changes
- Date: Mon, 19 Dec 2011 13:52:50 +0000 (UTC)
commit 2a80d5dbc97d24d31ff29840f0ce53b50471a7bc
Author: Alexander Larsson <alexl redhat com>
Date: Mon Dec 19 14:07:48 2011 +0100
Keep avatar up to date with contact changes
src/contacts-contact-pane.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 5381aaf..ee686d6 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -1495,7 +1495,9 @@ public class Contacts.ContactPane : ScrolledWindow {
});
var image_frame = new ContactFrame (PROFILE_SIZE, menu);
- image_frame.set_image (contact.individual, contact);
+ contact.keep_widget_uptodate (image_frame, (w) => {
+ (w as ContactFrame).set_image (contact.individual, contact);
+ });
card_grid.attach (image_frame, 0, 0, 1, 3);
card_grid.set_row_spacing (16);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]