From 598e4a5803578ab3e291f232d6aad31b4efd8ea4 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Mon, 9 Oct 2023 13:52:20 +0200 Subject: widgets: rename package to app This is the central point of all aerc. Having it named widgets is confusing. Rename it to app. It will make a cleaner transition when making the app.Aerc object available globally in the next commit. Signed-off-by: Robin Jarry Acked-by: Moritz Poldrack --- commands/account/expand-folder.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'commands/account/expand-folder.go') diff --git a/commands/account/expand-folder.go b/commands/account/expand-folder.go index 3eafaa09..8a7a8e93 100644 --- a/commands/account/expand-folder.go +++ b/commands/account/expand-folder.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "git.sr.ht/~rjarry/aerc/widgets" + "git.sr.ht/~rjarry/aerc/app" ) type ExpandCollapseFolder struct{} @@ -17,11 +17,11 @@ func (ExpandCollapseFolder) Aliases() []string { return []string{"expand-folder", "collapse-folder"} } -func (ExpandCollapseFolder) Complete(aerc *widgets.Aerc, args []string) []string { +func (ExpandCollapseFolder) Complete(aerc *app.Aerc, args []string) []string { return nil } -func (ExpandCollapseFolder) Execute(aerc *widgets.Aerc, args []string) error { +func (ExpandCollapseFolder) Execute(aerc *app.Aerc, args []string) error { if len(args) > 1 { return expandCollapseFolderUsage(args[0]) } -- cgit