1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52:50 -05:00

core/dbus: support Normalize for more dbus types

This commit is contained in:
bbedward
2026-01-28 13:28:13 -05:00
parent eda59b348c
commit 757054e140
3 changed files with 37 additions and 8 deletions

View File

@@ -65,7 +65,7 @@ func (m *Manager) Call(bus, dest, path, iface, method string, args []any) (*Call
return nil, fmt.Errorf("dbus call failed: %w", call.Err)
}
return &CallResult{Values: call.Body}, nil
return &CallResult{Values: dbusutil.NormalizeSlice(call.Body)}, nil
}
func (m *Manager) GetProperty(bus, dest, path, iface, property string) (*PropertyResult, error) {