More fixes for the elimination of the gui.paths module.
Authored by: bugman 2013-11-16
Parent: [r21454]
Child: [r21456]