diff --git a/v3/pkg/application/application_linux.go b/v3/pkg/application/application_linux.go index 552bbeac7d7..2434ea6aafc 100644 --- a/v3/pkg/application/application_linux.go +++ b/v3/pkg/application/application_linux.go @@ -153,6 +153,9 @@ func (m *linuxApp) monitorThemeChanges() { conn.Signal(c) getTheme := func(body []interface{}) (string, bool) { + if len(body) < 2 { + return "", false + } if body[0].(string) != "org.gnome.desktop.interface" { return "", false }