]> spindle.queued.net Git - midori/commitdiff
List all addon directories even non-existant
authorPaweł Forysiuk <tuxator@o2.pl>
Mon, 21 May 2012 21:09:01 +0000 (23:09 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 21 May 2012 21:09:01 +0000 (23:09 +0200)
Folders may be created after setting up monitors.

extensions/addons.c

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