~ubuntu-branches/ubuntu/raring/xiphos/raring

« back to all changes in this revision

Viewing changes to src/gnome2/gui.c

  • Committer: Bazaar Package Importer
  • Author(s): Dmitrijs Ledkovs, Jonathan Marsden, Dmitrijs Ledkovs
  • Date: 2010-11-25 21:26:48 UTC
  • mfrom: (2.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20101125212648-mc64wvs0nw3xp7bx
Tags: 3.1.4-1
[ Jonathan Marsden ]
* New upstream release 3.1.4
* Removed debian/patch/* since the one patch was included upstream.
* Bumped Standards-Version to 3.9.1 (no changes required).
* debian/README.Debian: Corrected spelling and reworded for clarity.
* debian/control: Add Jonathan Marsden back into Uploaders.

[ Dmitrijs Ledkovs ]
* Added local options dpkg-source to unapply patches and fail on
  upstream source changes (ignoring false positives).
* Added bzr-builddeb hook to generate source-format before build. If you
  are not using bzr-builddeb, you must run "./debian/rules clean" before
  building.
* patches/xul-2.0.patch: bump UPPER_RANGE to allow running against xul20.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Xiphos Bible Study Tool
3
3
 * gui.c - The heart of the gui.
4
4
 *
5
 
 * Copyright (C) 2000-2009 Xiphos Developer Team
 
5
 * Copyright (C) 2000-2010 Xiphos Developer Team
6
6
 *
7
7
 * This program is free software; you can redistribute it and/or modify
8
8
 * it under the terms of the GNU General Public License as published by
103
103
#define GS_GCONF_SUCCESS        _("Xiphos has successfully set itself\nas the handler of sword:// and bible:// URLs.\n\nYou may wish to run the program \"gconf-editor\"\nto examine keys under /desktop/gnome/url-handlers,\nif you need to change these.")
104
104
 
105
105
char *gconf_keys[GS_GCONF_MAX][2] = {
106
 
    { "/desktop/gnome/url-handlers/bible/command",        "xiphos \"%s\"" },
 
106
    { "/desktop/gnome/url-handlers/bible/command",        "xiphos-nav \"%s\"" },
107
107
    { "/desktop/gnome/url-handlers/bible/enabled",        (char *) 1 },
108
108
    { "/desktop/gnome/url-handlers/bible/needs_terminal", (char *) 0 },
109
 
    { "/desktop/gnome/url-handlers/sword/command",        "xiphos \"%s\"" },
 
109
    { "/desktop/gnome/url-handlers/sword/command",        "xiphos-nav \"%s\"" },
110
110
    { "/desktop/gnome/url-handlers/sword/enabled",        (char *) 1 },
111
111
    { "/desktop/gnome/url-handlers/sword/needs_terminal", (char *) 0 }
112
112
};
131
131
         */
132
132
        if ((((str = gconf_client_get_string(client, gconf_keys[0][0],
133
133
                                            NULL)) == NULL) ||
134
 
             (strncmp(str, "gnomesword", 10) == 0))
 
134
             (strncmp(str, "xiphos ", 7) == 0))
135
135
#ifdef DEBUG
136
136
            && gui_yes_no_dialog(GS_GCONF_PERMISSION, NULL)
137
137
#endif /* DEBUG */