diff --git a/gajim/common/configpaths.py b/gajim/common/configpaths.py index b2d4b6e07..6e0e43a73 100644 --- a/gajim/common/configpaths.py +++ b/gajim/common/configpaths.py @@ -134,9 +134,9 @@ class ConfigPaths: user_dir_paths = [ ('TMP', tempfile.gettempdir()), - ('CONFIG_ROOT', self.config_root), - ('CACHE_ROOT', self.cache_root), - ('DATA_ROOT', self.data_root), + ('MY_CONFIG', self.config_root), + ('MY_CACHE', self.cache_root), + ('MY_DATA', self.data_root), ] for path in user_dir_paths: diff --git a/gajim/common/helpers.py b/gajim/common/helpers.py index c1c88f9ad..eb9f27bb1 100644 --- a/gajim/common/helpers.py +++ b/gajim/common/helpers.py @@ -863,7 +863,7 @@ def check_soundfile_path(file_, dirs=None): :return the path to file or None if it doesn't exists. """ if dirs is None: - dirs = [app.configpaths.get('DATA_ROOT'), + dirs = [app.configpaths.get('MY_DATA'), app.DATA_DIR] if not file_: @@ -891,7 +891,7 @@ def strip_soundfile_path(file_, dirs=None, abs=True): return None if dirs is None: - dirs = [app.configpaths.get('DATA_ROOT'), + dirs = [app.configpaths.get('MY_DATA'), app.DATA_DIR] name = os.path.basename(file_)