From 36620a9e3e59d1d1050c645a4d680a99125e81ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Wed, 4 Feb 2026 08:34:43 -0800 Subject: [PATCH] CalendarRow: use revealer for selection, emblem-default --- src/Widgets/CalendarRow.vala | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Widgets/CalendarRow.vala b/src/Widgets/CalendarRow.vala index b041bc629..78e955a52 100644 --- a/src/Widgets/CalendarRow.vala +++ b/src/Widgets/CalendarRow.vala @@ -61,18 +61,20 @@ public class CalendarRow : Gtk.Box { xalign = 0 }; - var selection_icon = new Gtk.Image.from_icon_name ("object-select-symbolic", Gtk.IconSize.MENU) { - no_show_all = true, - visible = false + var selection_icon = new Gtk.Image.from_icon_name ("emblem-default-symbolic", MENU); + + var selection_revealer = new Gtk.Revealer () { + child = selection_icon, + transition_type = CROSSFADE }; spacing = 6; add (calendar_color); add (calendar_name_label); - add (selection_icon); + add (selection_revealer); bind_property ("label", calendar_name_label, "label"); - bind_property ("selected", selection_icon, "visible"); + bind_property ("selected", selection_revealer, "reveal-child", SYNC_CREATE); } private void apply_source () {