From 09b46affa34a91bb9bae2a8fd06ea308490245d6 Mon Sep 17 00:00:00 2001 From: tr1x_em Date: Sat, 2 Aug 2025 22:18:47 +0530 Subject: [PATCH 1/2] fix: define start_with_dimensions function to resolve NameError --- widgets/customrevealer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widgets/customrevealer.py b/widgets/customrevealer.py index a7303f4..bf1712a 100644 --- a/widgets/customrevealer.py +++ b/widgets/customrevealer.py @@ -206,7 +206,10 @@ class SlideRevealer(Gtk.Overlay): pos = self._get_offscreen_pos_cached() self._current_position = (float(pos[0]), float(pos[1])) self._fixed.move(self.child, int(pos[0]), int(pos[1])) - + + def start_with_dimensions(): + AnimationManager.get_instance().add_widget(self) + return False # Use idle_add to ensure layout is complete GLib.idle_add(start_with_dimensions) From 5ed39fac9fce18a68b5ce424dcf1e863dc1347c3 Mon Sep 17 00:00:00 2001 From: tr1x_em Date: Sat, 2 Aug 2025 22:19:07 +0530 Subject: [PATCH 2/2] Fixed mistakes by AI --- styles/notification.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/notification.css b/styles/notification.css index 31a73fd..fdae209 100644 --- a/styles/notification.css +++ b/styles/notification.css @@ -7,7 +7,7 @@ /* inset 0 0 0 0.5px alpha(#aaa, 0.4); */ border-radius: 20px; margin: 4px; - transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94); + /* transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94); */ } #notification-action-buttons button.start-action {