From e9eba2e2914e6c9aa01dd3d6267c969bcba3bb2f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 2 Apr 2025 15:06:27 +1100 Subject: cleanup: remove popdown stuff Popdowns were replaced with the sidebar --- src/widgets/popdownwindow.tsx | 51 ------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 src/widgets/popdownwindow.tsx (limited to 'src/widgets/popdownwindow.tsx') diff --git a/src/widgets/popdownwindow.tsx b/src/widgets/popdownwindow.tsx deleted file mode 100644 index ea2814f..0000000 --- a/src/widgets/popdownwindow.tsx +++ /dev/null @@ -1,51 +0,0 @@ -import type { Binding } from "astal"; -import { Gtk } from "astal/gtk3"; -import PopupWindow from "./popupwindow"; - -export default ({ - name, - count, - countLabel = count.as(c => `${c} ${name.slice(0, -1)}${c === 1 ? "" : "s"}`), - headerButtons, - emptyIcon, - emptyLabel, - list, -}: { - name: string; - count: Binding; - countLabel?: Binding; - headerButtons: { label: string | Binding; onClicked: () => void; enabled?: Binding }[]; - emptyIcon: string; - emptyLabel: string | Binding; - list: JSX.Element; -}) => ( - - - -