diff src/cache_maint.c @ 79:528e3432e0c0

Thu Oct 19 07:23:37 2006 John Ellis <johne@verizon.net> * cache_maint.c, thumb_standard.[ch]: Use .thumblocal when saving local thumbnails as per the freedesktop.org thumbnail spec. * filelist.c: Add .thumblocal to list of ignored folders (those we never show user). * main.c: Fix bug in recent command line parser changes, a single folder on the command line was not processed by parse_out_relatives().
author gqview
date Thu, 19 Oct 2006 11:34:52 +0000
parents 31759d770628
children 71e1ebee420e
line wrap: on
line diff
--- a/src/cache_maint.c	Sun Oct 15 16:39:19 2006 +0000
+++ b/src/cache_maint.c	Thu Oct 19 11:34:52 2006 +0000
@@ -995,19 +995,19 @@
 
 	gtk_progress_bar_set_text(GTK_PROGRESS_BAR(cd->progress), _("running..."));
 
-	path = g_strconcat(homedir(), "/", THUMB_FOLDER, "/", THUMB_FOLDER_NORMAL, NULL);
+	path = g_strconcat(homedir(), "/", THUMB_FOLDER_GLOBAL, "/", THUMB_FOLDER_NORMAL, NULL);
 	list = NULL;
 	path_list(path, &list, NULL);
 	cd->list = list;
 	g_free(path);
 
-	path = g_strconcat(homedir(), "/", THUMB_FOLDER, "/", THUMB_FOLDER_LARGE, NULL);
+	path = g_strconcat(homedir(), "/", THUMB_FOLDER_GLOBAL, "/", THUMB_FOLDER_LARGE, NULL);
 	list = NULL;
 	path_list(path, &list, NULL);
 	cd->list = g_list_concat(cd->list, list);
 	g_free(path);
 
-	path = g_strconcat(homedir(), "/", THUMB_FOLDER, "/", THUMB_FOLDER_FAIL, NULL);
+	path = g_strconcat(homedir(), "/", THUMB_FOLDER_GLOBAL, "/", THUMB_FOLDER_FAIL, NULL);
 	list = NULL;
 	path_list(path, &list, NULL);
 	cd->list = g_list_concat(cd->list, list);
@@ -1195,7 +1195,7 @@
 
 	group = pref_group_new(gd->vbox, FALSE, _("Shared thumbnail cache"), GTK_ORIENTATION_VERTICAL);
 
-	buf = g_strconcat(_("Location:"), " ", homedir(), "/", THUMB_FOLDER, NULL);
+	buf = g_strconcat(_("Location:"), " ", homedir(), "/", THUMB_FOLDER_GLOBAL, NULL);
 	label = pref_label_new(group, buf);
 	gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
 	g_free(buf);