[libadwaita] avatar: Update initials after setting custom-image
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita] avatar: Update initials after setting custom-image
- Date: Sun, 17 Apr 2022 13:25:10 +0000 (UTC)
commit 99808c8c32b062a756e15ba76952b2bb124f2194
Author: Marco Melorio <marco melorio protonmail com>
Date: Sun Apr 17 14:58:34 2022 +0200
avatar: Update initials after setting custom-image
Fixes #458
src/adw-avatar.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/adw-avatar.c b/src/adw-avatar.c
index f657bb58..ee75900d 100644
--- a/src/adw-avatar.c
+++ b/src/adw-avatar.c
@@ -661,6 +661,7 @@ adw_avatar_set_custom_image (AdwAvatar *self,
gtk_widget_remove_css_class (self->gizmo, "image");
}
+ update_initials (self);
update_visibility (self);
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_CUSTOM_IMAGE]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]