Revert "Add Style configuration"

This reverts commit 0f78f06610.
This commit is contained in:
Drew DeVault 2020-05-28 10:32:42 -04:00
parent 76a91813d8
commit caad1b2c06
48 changed files with 326 additions and 1087 deletions
commands/msgview

View file

@ -49,20 +49,20 @@ func (Open) Execute(aerc *widgets.Aerc, args []string) error {
tmpFile, err := ioutil.TempFile(os.TempDir(), "aerc-*"+extension)
if err != nil {
aerc.PushError(" "+err.Error(), 10*time.Second)
aerc.PushError(" " + err.Error())
return
}
defer tmpFile.Close()
_, err = io.Copy(tmpFile, reader)
if err != nil {
aerc.PushError(" "+err.Error(), 10*time.Second)
aerc.PushError(" " + err.Error())
return
}
err = lib.OpenFile(tmpFile.Name())
if err != nil {
aerc.PushError(" "+err.Error(), 10*time.Second)
aerc.PushError(" " + err.Error())
}
aerc.PushStatus("Opened", 10*time.Second)