summaryrefslogtreecommitdiff
path: root/src/setup.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-03-14 15:22:14 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-03-14 15:22:14 +0100
commitae398d3abace1aea33e7d2704f731be880d1931b (patch)
treef98a703067cbd58d44e8c91450889051ebb102e3 /src/setup.c
parent0d4dd0513a8c525c3c1fbd7237b9bb283adb7a77 (diff)
downloadcataract-ae398d3abace1aea33e7d2704f731be880d1931b.tar.xz
Option to hide EXIF table in single photo view
Diffstat (limited to 'src/setup.c')
-rw-r--r--src/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/setup.c b/src/setup.c
index 4755ad7..f328196 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -138,6 +138,9 @@ parse_setup_xml (const char *filename, TGallerySetup *setup)
s = xml_file_get_node_attribute (xml, "/gallery_setup/navigation/show_go_up", "value");
setup->show_go_up = s ? strcasecmp (s, "yes") == 0 : TRUE; /* default to TRUE */
if (s) g_free (s);
+ s = xml_file_get_node_attribute (xml, "/gallery_setup/navigation/show_exif_table", "value");
+ setup->show_exif_table = 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");