From 1dd157b8ca8f7e18886c8951306a51d14c77ec77 Mon Sep 17 00:00:00 2001 From: Golamrabbi Azad Date: Fri, 27 Sep 2024 00:46:34 +0600 Subject: [PATCH 1/2] fix: captured deleted cal event --- src/Widgets/EventsList.vala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Widgets/EventsList.vala b/src/Widgets/EventsList.vala index 01b9f5dfe..20f380b90 100644 --- a/src/Widgets/EventsList.vala +++ b/src/Widgets/EventsList.vala @@ -149,6 +149,7 @@ public class Widgets.EventsList : Adw.Bin { event_row.destroy (); event_hashmap.unset (event_uid); } + listbox.remove (event_row); } change (); From 2f27bdb5f4ad6cda7c24bb3df0ac54670bd4d13c Mon Sep 17 00:00:00 2001 From: Golamrabbi Azad Date: Sat, 28 Sep 2024 00:15:59 +0600 Subject: [PATCH 2/2] refactor: sidebar header redesigned --- src/MainWindow.vala | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 004fc936b..f8c243d9f 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -79,14 +79,17 @@ public class MainWindow : Adw.ApplicationWindow { css_classes = { "flat" } }; + var title_label = new Gtk.Label ("Planify"); + title_label.add_css_class ("title"); + var sidebar_header = new Adw.HeaderBar () { - title_widget = new Gtk.Label (null), + title_widget = title_label, hexpand = true }; sidebar_header.add_css_class ("flat"); + sidebar_header.pack_start (search_button); sidebar_header.pack_end (settings_button); - sidebar_header.pack_end (search_button); sidebar_header.pack_end (fake_button); sidebar = new Layouts.Sidebar ();