From 40334d2dec0545100edcca403d50ad6b1b015a9a Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 25 Apr 2009 15:39:55 +0200 Subject: Update mode By doing update, cgg will check the output structure for missing files and re-generate them as necessary. The decision whether an item (file, picture, album) needs to be updated is done by comparing timestamps (mtime specifically). Due to that reason it's important to keep this fact in mind when replacing single image which carries older timestamp than other files. Either don't use the update mode or 'touch' that new file. Changes made to any XML file will result in whole album re-generation (excluding subalbums). --- src/setup.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/setup.h') diff --git a/src/setup.h b/src/setup.h index 4cd2629..2356620 100644 --- a/src/setup.h +++ b/src/setup.h @@ -35,6 +35,7 @@ /* Global gallery setup */ typedef struct { gboolean verbose; + gboolean update_mode; char *real_templates_dir; char *setup_xml_path; -- cgit v1.2.3