while (needle)
{
PanCacheData *pc;
- gchar *path;
-
+
pc = needle->data;
if (pc->fd == fd)
{
gchar *escquote_value(const gchar *text)
{
gchar *e;
- gchar *retval;
-
+
if (!text) return g_strdup("\"\"");
e = g_strescape(text, "");
static void sr_menu_print_cb(GtkWidget *widget, gpointer data)
{
SearchData *sd = data;
- FileData *fd;
-
+
print_window_new(sd->click_fd, search_result_selection_list(sd),
search_result_get_filelist(sd), sd->window);
}
static void vdlist_pop_menu_dupe(ViewDirList *vdl, gint recursive)
{
DupeWindow *dw;
- const gchar *path;
GList *list = NULL;
if (!vdl->click_fd) return;
guint time, gpointer data)
{
ViewDirList *vdl = data;
- gchar *path;
GList *list;
gchar *text = NULL;
gint length = 0;
guint time, gpointer data)
{
ViewDirTree *vdt = data;
- gchar *path;
GList *list;
gchar *uri_text = NULL;
gint length = 0;
if (target_path[n] == '/' && target_path[n+1] == '.')
{
gchar *name8;
- gchar *namel;
struct stat sbuf;
n++;
while (work)
{
IconData *id = work->data;
- FileData *fd = id->fd;
work = work->next;
if (id == vfi->prev_selection) vfi->prev_selection = NULL;
static void vflist_setup_iter_with_sidecars(ViewFileList *vfl, GtkTreeStore *store, GtkTreeIter *iter, FileData *fd)
{
GList *work;
- GtkTreeIter new;
GtkTreeIter s_iter;
gint valid;
static void vflist_listview_mark_toggled(GtkCellRendererToggle *cell, gchar *path_str, GtkTreeStore *store)
{
GtkTreePath *path = gtk_tree_path_new_from_string(path_str);
- guint *marks;
GtkTreeIter iter;
FileData *fd;
gboolean mark;
void vflist_marks_set(ViewFileList *vfl, gint enable)
{
- GtkTreeStore *store;
- GtkTreeViewColumn *column;
GList *columns, *work;
if (vfl->marks_enabled == enable) return;
gint ret = FALSE;
gchar *source_base;
gchar *dest_base;
- GList *work;
if (g_list_index(vfl->list, fd) < 0) return FALSE;