In nl-folders-source.c::on_folders_changed, I'd add the current XDG_DESKTOP_DIR and XDG_DOWNLOADS_DIR to the list of folders (if they aren't already in there), and then re-sort the folders by name.
In nl-folders- source. c::on_folders_ changed, I'd add the current XDG_DESKTOP_DIR and XDG_DOWNLOADS_DIR to the list of folders (if they aren't already in there), and then re-sort the folders by name.