diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-03-14 14:25:10 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-03-14 14:25:10 +0100 |
| commit | 0d4dd0513a8c525c3c1fbd7237b9bb283adb7a77 (patch) | |
| tree | 8fab5b185bf563b31a40933956645e45c1d83685 /src/setup.c | |
| parent | 9514d8f844ada0b8a0b2450973374ee2ecd7b6b7 (diff) | |
| download | cataract-0d4dd0513a8c525c3c1fbd7237b9bb283adb7a77.tar.xz | |
Option to hide "Go Up" links
Diffstat (limited to 'src/setup.c')
| -rw-r--r-- | src/setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/setup.c b/src/setup.c index 17d8fda..4755ad7 100644 --- a/src/setup.c +++ b/src/setup.c @@ -135,6 +135,9 @@ parse_setup_xml (const char *filename, TGallerySetup *setup) s = xml_file_get_node_attribute (xml, "/gallery_setup/navigation/use_inpage_links", "value"); setup->use_inpage_links = 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_go_up", "value"); + setup->show_go_up = 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"); |
