<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_base_dir(self, base_dir):
 """ Set the base directory to be used for all relative filenames. """


        self._base_dir = base_dir
        self.icon_cache.set_base_dir(base_dir)