remove expanded widgets for now

This commit is contained in:
Bradley Cicenas
2017-03-01 05:10:28 +00:00
parent 6a4b145b1b
commit 9f5cd42b73
7 changed files with 19 additions and 274 deletions

View File

@@ -5,7 +5,6 @@ import (
"github.com/bcicen/ctop/cwidgets"
"github.com/bcicen/ctop/cwidgets/compact"
"github.com/bcicen/ctop/cwidgets/expanded"
"github.com/bcicen/ctop/metrics"
)
@@ -35,10 +34,6 @@ func (c *Container) ShortName() string {
return strings.Replace(c.name, "/", "", 1) // use primary container name
}
func (c *Container) Expand() {
c.widgets = expanded.NewExpanded(c.ShortID(), c.name)
}
func (c *Container) SetState(s string) {
c.state = s
c.widgets.SetStatus(s)