summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-02-17 22:00:17 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-02-17 22:00:17 +0100
commitc78b9c0f83204c1805c9f1fc858bddefc2402e17 (patch)
treee6935ab97d04454db0ba210e56020127f54e5210 /setup.c
parent48cb3b4f0d0598b1a84958785323978f4dfee67c (diff)
downloadcataract-c78b9c0f83204c1805c9f1fc858bddefc2402e17.tar.xz
Enable <nofullsize> in setup.xml
Support for <fullsize> override in the album
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 40da036..d9b9464 100644
--- a/setup.c
+++ b/setup.c
@@ -133,6 +133,8 @@ parse_setup_xml (const char *filename, TGallerySetup *setup)
setup->use_inpage_links = s ? strcasecmp (s, "yes") == 0 : TRUE; /* default to TRUE */
if (s) g_free (s);
+ setup->nofullsize = xml_file_get_node_present (xml, "/gallery_setup/images/nofullsize");
+
xml_parser_close (xml);
#ifdef __DEBUG_ALL__