Lines Matching refs:dirs
354 const char * const *dirs;
358 dirs = get_applications_search_path ();
362 for (i = 0; dirs[i] != NULL; i++)
367 filename = g_build_filename (dirs[i], desktop_id, NULL);
378 filename = g_build_filename (dirs[i], basename, NULL);
2049 const char * const *dirs;
2056 dirs = get_applications_search_path ();
2062 for (i = 0; dirs[i] != NULL; i++)
2063 get_apps_from_dir (apps, dirs[i], "");
2093 GList *dirs; /* mimeinfo.cache and defaults.list */
2507 const char * const *dirs;
2512 dirs = get_applications_search_path ();
2514 for (i = 0; dirs[i] != NULL; i++)
2518 dir = mime_info_cache_dir_new (dirs[i]);
2526 mime_info_cache->dirs = g_list_append (mime_info_cache->dirs, dir);
2536 tmp = mime_info_cache->dirs;
2598 g_list_foreach (cache->dirs,
2601 g_list_free (cache->dirs);
2708 for (dir_list = mime_info_cache->dirs;
2731 for (dir_list = mime_info_cache->dirs;