Lines Matching defs:topdir
1632 char *topdir, *globaldir, *trashdir, *tmpname;
1652 topdir = find_mountpoint_for (dirname, dir_dev);
1653 if (topdir == NULL)
1656 globaldir = g_build_filename (topdir, ".Trash", NULL);
1668 g_free (topdir);
1673 /* No global trash dir, or it failed the tests, fall back to $topdir/.Trash-$uid */
1678 trashdir = g_build_filename (topdir, tmpname, NULL);
1683 g_free (topdir);
1692 res = g_access (topdir, W_OK) == 0;
1694 g_free (topdir);
1708 char *trashdir, *topdir, *infodir, *filesdir;
1754 topdir = g_strdup (g_get_user_data_dir ());
1764 topdir = find_topdir_for (local->filename);
1765 if (topdir == NULL)
1773 /* Try looking for global trash dir $topdir/.Trash/$uid */
1774 globaldir = g_build_filename (topdir, ".Trash", NULL);
1803 /* No global trash dir, or it failed the tests, fall back to $topdir/.Trash-$uid */
1805 trashdir = g_build_filename (topdir, dirname, NULL);
1845 g_free (topdir);
1863 g_free (topdir);
1896 g_free (topdir);
1920 g_free (topdir);
1949 original_name = try_make_relative (local->filename, topdir);
1953 g_free (topdir);