You'll need to right click on an empty area in the navigation pane instead of a folder to be able to click on Show all folders to uncheck it.
Afterwards, you should be able to check or uncheck the Shown in Navigation Pane box in the properties of a library folder (not "Libraries" folder).