~ubuntu-branches/ubuntu/vivid/xiphos/vivid-proposed

« back to all changes in this revision

Viewing changes to src/main/global_ops.cc

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2014-07-12 17:08:46 UTC
  • mfrom: (17.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140712170846-1lcybpijz5fn72fg
Tags: 3.2.2+dfsg1-1
* New upstream release.
* Bump standards version.
* Switch uscan to sf.net redirector.
* Unpack waf in get-orig-source target.
* Bump to debhelper 9.
* Add uuid-dev build-dep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 * mod_global_ops.c - setup for SWORD global options and
4
4
 *                    a few of our own in the gui
5
5
 *
6
 
 * Copyright (C) 2000-2011 Xiphos Developer Team
 
6
 * Copyright (C) 2000-2014 Xiphos Developer Team
7
7
 *
8
8
 * This program is free software; you can redistribute it and/or modify
9
9
 * it under the terms of the GNU General Public License as published by
54
54
}
55
55
 
56
56
 
57
 
static void _set_global_textual(const char *option,
58
 
                                const char *choice)
 
57
void _set_global_textual(const char *option,
 
58
                         const char *choice)
59
59
{
60
60
        SWMgr *mgr = backend->get_mgr();
61
61
        mgr->setGlobalOption(option, choice);
185
185
 *   GLOBAL_OPS *
186
186
 */
187
187
 
188
 
GLOBAL_OPS *main_new_globals(gchar * mod_name)
 
188
GLOBAL_OPS *main_new_globals(const gchar * mod_name)
189
189
{
190
190
        GLOBAL_OPS *ops;
191
191
        gchar *buf = g_strdup_printf("%s/modops.conf", settings.gSwordDir);
230
230
        ops->footnotes =
231
231
            (module_options[mod_name]["Footnotes"] != "Off");
232
232
        ops->scripturerefs =
233
 
            (module_options[mod_name]["Scripture Cross-references"] != "Off");
 
233
            (module_options[mod_name]["Cross-references"] != "Off");
234
234
        ops->xrefnotenumbers =
235
235
            (module_options[mod_name]["XrefNoteNumbers"] != "Off");
236
236