Skip to content
  • Ondrej Holy's avatar
    glocalfile: Check that parent device is the same when trashing · 15cdcd2e
    Ondrej Holy authored
    To be honest, I am not sure why, but in some special environments (e.g.
    our CI integration) can happen, that file device number is different from
    parent device number. Return "Unable to find or create trash directory for
    %s" error from g_local_file_trash() in that case and also set
    G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH appropriately.
    15cdcd2e