From: Paweł Forysiuk Date: Tue, 22 May 2012 22:31:45 +0000 (+0200) Subject: Also list non-existant system addon folders X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b854931cfc8c418f0ea22c1f14a49e8cc139eb37;p=midori Also list non-existant system addon folders --- diff --git a/extensions/addons.c b/extensions/addons.c index c05fd855..6051627e 100644 --- a/extensions/addons.c +++ b/extensions/addons.c @@ -846,7 +846,7 @@ addons_get_directories (AddonsKind kind) { path = g_build_path (G_DIR_SEPARATOR_S, *datadirs, PACKAGE_NAME, folder_name, NULL); - if (g_slist_find (directories, path) == NULL && g_access (path, X_OK) == 0) + if (g_slist_find (directories, path) == NULL) directories = g_slist_prepend (directories, path); else g_free (path);