]> spindle.queued.net Git - midori/commitdiff
Also list non-existant system addon folders
authorPaweł Forysiuk <tuxator@o2.pl>
Tue, 22 May 2012 22:31:45 +0000 (00:31 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 22 May 2012 22:32:40 +0000 (00:32 +0200)
extensions/addons.c

index c05fd85583b95462f22f76585c819672f16f48db..6051627e29acf7bef92ac87f814511a51ff4af12 100644 (file)
@@ -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);