diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/paths.c | 4 | ||||
-rw-r--r-- | src/core/paths.h | 2 | ||||
-rw-r--r-- | src/main.c | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/core/paths.c b/src/core/paths.c index 8e825d2..f58f46c 100644 --- a/src/core/paths.c +++ b/src/core/paths.c @@ -123,7 +123,7 @@ char *find_pixmap_file(const char *filename) * * ******************************************************************************/ -char *find_plugin_file(const char *pgname, const char *filename) +char *find_plugin_data_file(const char *pgname, const char *filename) { char *result; /* Trouvaille à renvoyer */ #ifndef DISCARD_LOCAL @@ -150,7 +150,7 @@ char *find_plugin_file(const char *pgname, const char *filename) #endif if (result == NULL) - result = find_file_in_directory(PLUGINS_DIR, filename); + result = find_file_in_directory(PLUGINS_DATA_DIR, filename); return result; diff --git a/src/core/paths.h b/src/core/paths.h index c16a278..a755559 100644 --- a/src/core/paths.h +++ b/src/core/paths.h @@ -30,7 +30,7 @@ char *find_pixmap_file(const char *); /* Trouve le chemin d'accès complet à un fichier de greffon. */ -char *find_plugin_file(const char *, const char *); +char *find_plugin_data_file(const char *, const char *); @@ -129,7 +129,8 @@ static void show_chrysalide_version(void) printf(_("Pictures directory: %s\n"), PIXMAPS_DIR); printf(_("Themes directory: %s\n"), THEMES_DIR); - printf(_("Plugins directory: %s\n"), PLUGINS_DIR); + printf(_("Plugins library directory: %s\n"), PLUGINS_LIB_DIR); + printf(_("Plugins data directory: %s\n"), PLUGINS_DATA_DIR); printf(_("Locale directory: %s\n"), LOCALE_DIR); printf("\n"); |