Function MimeAppsGroup.setAssocations

Set list of desktop ids for mimeType. This overwrites existing list completely. Can be used to set the list of added assocations rearranged in client code to manage the preference order.

void setAssocations(Range) (
  string mimeType,
  Range desktopIds
) @safe
if (isInputRange!Range && is(ElementType!Range : string));