From: Paweł Forysiuk Date: Mon, 21 May 2012 21:09:01 +0000 (+0200) Subject: List all addon directories even non-existant X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a172fff27319df51bb99337f90ced75fa419e9c;p=midori List all addon directories even non-existant Folders may be created after setting up monitors. --- diff --git a/extensions/addons.c b/extensions/addons.c index edf5339b..c05fd855 100644 --- a/extensions/addons.c +++ b/extensions/addons.c @@ -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)