aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-08-13 10:55:50 +0900
committerDrew DeVault <sir@cmpwn.com>2019-08-13 10:55:50 +0900
commit4fc6fee734e1b88c9aab94e66f5a2f908a86452f (patch)
tree76a2d79320ec2da88762d28ef66a391243206543 /widgets
parentf0a0c5aa733fa66958c113465bfc5fdd3d7cc9f0 (diff)
Revert "add close command at global level"
This reverts commit f0a0c5aa733fa66958c113465bfc5fdd3d7cc9f0.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/aerc.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index 2c783d4..5a7914a 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -244,14 +244,6 @@ func (aerc *Aerc) SelectedTab() ui.Drawable {
return aerc.tabs.Tabs[aerc.tabs.Selected].Content
}
-func (aerc *Aerc) SelectedTabName() string {
- return aerc.tabs.Tabs[aerc.tabs.Selected].Name
-}
-
-func (aerc *Aerc) SelectedTabIndex() int {
- return aerc.tabs.Selected
-}
-
func (aerc *Aerc) NewTab(drawable ui.Drawable, name string) *ui.Tab {
tab := aerc.tabs.Add(drawable, name)
aerc.tabs.Select(len(aerc.tabs.Tabs) - 1)