List all addon directories even non-existant
Folders may be created after setting up monitors.
This commit is contained in:
parent
5cd78ae297
commit
7a172fff27
1 changed files with 1 additions and 4 deletions
|
@ -839,10 +839,7 @@ addons_get_directories (AddonsKind kind)
|
|||
|
||||
path = g_build_path (G_DIR_SEPARATOR_S, g_get_user_data_dir (),
|
||||
PACKAGE_NAME, folder_name, NULL);
|
||||
if (g_access (path, X_OK) == 0)
|
||||
directories = g_slist_prepend (directories, path);
|
||||
else
|
||||
g_free (path);
|
||||
directories = g_slist_prepend (directories, path);
|
||||
|
||||
datadirs = g_get_system_data_dirs ();
|
||||
while (*datadirs)
|
||||
|
|
Loading…
Reference in a new issue