From ae398d3abace1aea33e7d2704f731be880d1931b Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 14 Mar 2009 15:22:14 +0100 Subject: Option to hide EXIF table in single photo view --- src/setup.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/setup.c') 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"); -- cgit v1.2.3