[Xfce4-commits] <midori:master> List all addon directories even non-existant
Christian Dywan
noreply at xfce.org
Tue May 22 00:04:02 CEST 2012
Updating branch refs/heads/master
to 7a172fff27319df51bb99337f90ced75fa419e9c (commit)
from 5cd78ae297912af2a3974aa0917a80a775a885c5 (commit)
commit 7a172fff27319df51bb99337f90ced75fa419e9c
Author: Paweł Forysiuk <tuxator at o2.pl>
Date: Mon May 21 23:09:01 2012 +0200
List all addon directories even non-existant
Folders may be created after setting up monitors.
extensions/addons.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/extensions/addons.c b/extensions/addons.c
index edf5339..c05fd85 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)
More information about the Xfce4-commits
mailing list