Comment 5 for bug 1768961

I just noticed that ScreenGrab, in its Browse for default save directory,
does exactly the same thing:
Desktop under "Places" comes up as directory buttons (each of the following is its own button):
  / home scott " data scott Desktop"

Note that there is a directory button containing only the quote character, and
that the last directory has the name Desktop with attached quote mark on the end.

I have to assume that both programs PCManFM and ScreenGrab utilize the same routine for scanning for user directories, and that that routine is what is screwing up "Desktop".

What is that routine, and where is it located (what pkg), so that I can point this bug report in the right direction?