summaryrefslogtreecommitdiff
path: root/src/bin/e_path.c
diff options
context:
space:
mode:
authorStafford Mitchell Horne <shorne@gmail.com>2006-04-09 11:55:18 +0000
committerStafford Mitchell Horne <shorne@gmail.com>2006-04-09 11:55:18 +0000
commit30cdc91f0c2a40d94a69031c5d62d8b7dd3a47ae (patch)
treef689c8396d54e3eb460c926997dfe6c43f7cdbd1 /src/bin/e_path.c
parent222d049ac81034400c14dc0dcd62364287c05b9d (diff)
Add a simple search path configuration dialog, plus:
* Add some widget API used by new dialog * Fix typo SVN revision: 21983
Diffstat (limited to '')
-rw-r--r--src/bin/e_path.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bin/e_path.c b/src/bin/e_path.c
index 6b181ad..67de09d 100644
--- a/src/bin/e_path.c
+++ b/src/bin/e_path.c
@@ -249,6 +249,20 @@ e_path_user_path_remove(E_Path *ep, const char *path)
249 } 249 }
250} 250}
251 251
252EAPI void
253e_path_user_path_clear(E_Path *ep)
254{
255 while (*(ep->user_dir_list))
256 {
257 E_Path_Dir *epd;
258 epd = (*(ep->user_dir_list))->data;
259 *(ep->user_dir_list) = evas_list_remove_list(*(ep->user_dir_list), *(ep->user_dir_list));
260 evas_stringshare_del(epd->dir);
261 free(epd);
262 }
263 _e_path_cache_free(ep);
264}
265
252EAPI const char * 266EAPI const char *
253e_path_find(E_Path *ep, const char *file) 267e_path_find(E_Path *ep, const char *file)
254{ 268{