Source code for Gramps Genealogical program
Go to file
Paul Culley bb1d59a29d Restrict Place view Name col to the primary name (#673)
while allowing searchbar to find alt and primary names

related to
Issue #9276

while allowing searchbar to find alt and primary names.

Currently, the Place View and Place Selector name column shows a comma separated list of the primary and alt names for a place. With the advent of GeoNames and Gov data, the alt names lists are getting populated with (sometimes long) lists of (sometimes duplicated) names. This doesn't look very good in the view. I've gotten a couple of email complaints about this.

The Name column was originally extended (for Gramps50) to include alt names to allow the use of the top search bar (enabled when sidebar is turned off via 'View/Sidebar'), to perform a search through all the alt names as well as primary name. https://gramps-project.org/bugs/view.php?id=9276

This PR creates a new (hidden) column in the place model containing the full name list, and reverts the 'Name' column to the primary name. It also modifies the PlaceSelector and PlaceView classes to cause the search bar to use the new (hidden) column.
2018-11-29 10:23:11 +11:00
bash Bash completetions: a little cleaning up 2016-05-06 16:02:09 -04:00
data Gedcom export, upgrade OBJE handling to Gedcom 5.5.1 style (#702) 2018-11-29 09:28:56 +11:00
debian Update the Debian changelog after the 5.0.0 release 2018-07-25 21:56:42 +02:00
docs Fix ImportError & update API docs year 2018 (#564) 2018-02-28 16:53:37 +11:00
example Fix places in example.gramps (#578) 2018-03-14 10:53:38 +11:00
gramps Restrict Place view Name col to the primary name (#673) 2018-11-29 10:23:11 +11:00
help remove vestage of (old) SVN source-control system 2017-10-02 11:13:40 -07:00
images Add 24x24 gramps-fanchart2way.png. 2017-06-24 20:38:47 -07:00
mac Switch included moduleset to gitlab.gnome.org. 2018-08-09 07:24:39 -07:00
po Update gramps bugtracker URL in all po files (#710) 2018-11-29 09:01:56 +11:00
scripts
test remove vestage of (old) SVN source-control system 2017-10-02 11:13:40 -07:00
windows Fix strings containing deprecated illegal escape sequences (#648) 2018-09-04 12:03:17 +10:00
.gitattributes Add Progen import test files 2017-01-25 17:35:52 -06:00
.gitignore 7921 Move holidays.xml.in to data [refactor] 2016-04-16 16:38:43 +10:00
.mailmap add another address to the mailmap 2017-06-26 12:27:32 -07:00
.pylintrc Add .pylintrc file 2016-01-10 16:41:44 +00:00
.travis.yml Do not run tests in the test directory 2017-05-08 22:47:38 +01:00
AUTHORS remove vestage of (old) SVN source-control system 2017-10-02 11:13:40 -07:00
ChangeLog Update Changelog and NEWS files 2018-07-24 15:03:19 +01:00
CONTRIBUTING Mention translation URLs in Contribute (#381) 2017-05-05 15:50:10 +10:00
COPYING 6918: http://lintian.debian.org/tags/old-fsf-address-in-copyright-file.html 2013-11-07 11:26:57 -08:00
FAQ remove vestage of (old) SVN source-control system 2017-10-02 11:13:40 -07:00
Gramps.py Move GRAMPS_RESOURCE default into grampsapp.main() 2016-04-14 20:58:27 -04:00
INSTALL Change INSTALL to replace 'python' with 'python3 for script invokes 2017-11-05 07:30:00 -06:00
MANIFEST.in put the entire 'bash' tree in the tar file made by 'setup.py sdist' 2017-09-07 10:28:12 -07:00
NEWS Update Changelog and NEWS files 2018-07-24 15:03:19 +01:00
README.md Update README for Gramps50 (#550) 2018-02-18 13:15:43 +11:00
RELEASE_NOTES remove vestage of (old) SVN source-control system 2017-10-02 11:13:40 -07:00
setup.py Fix strings containing deprecated illegal escape sequences (#648) 2018-09-04 12:03:17 +10:00
TestPlan.txt
TODO

The Gramps Project ( https://gramps-project.org ) Build Statuscodecov.io

We strive to produce a genealogy program that is both intuitive for hobbyists and feature-complete for professional genealogists.

Please read the COPYING file first.

Please read the INSTALL file if you intend to build from source.

Requirements

The following packages MUST be installed in order for Gramps to work:

The following three packages with GObject Introspection bindings (the gi packages)

The following package is needed for full translation of the interface to your language:

  • language-pack-gnome-xx

Translation of GTK elements to your language, with xx your language code; e.g. for Dutch you need language-pack-gnome-nl. The translation of the Gramps strings is included with the gramps source.

  • osmgpsmap

Used to show maps in the geography view. It may be osmgpsmap, osm-gps-map, or python-osmgpsmap, but the Python bindings for this must also be present, so gir1.2-osmgpsmap-1.0. Without this the GeoView will not be active, see https://gramps-project.org/wiki/index.php?title=Gramps_5.0_Wiki_Manual_-_Categories#Geography_Category

  • Graphviz

    Enable creation of graphs using Graphviz engine. Without this, three reports cannot be run. Obtain it from: http://www.graphviz.org or try graphviz and python3-pygraphviz from your packages.

  • PyICU

Improves localised sorting in Gramps. In particular, this applies to sorting in the various views and in the Narrative Web output. It is particularly helpful for non-Latin characters, for non-English locales and on MS Windows and Mac OS X platforms. If it is not available, sorting is done through built-in libraries. PyICU is fairly widely available through the package managers of distributions. See http://pyicu.osafoundation.org/ (These are Python bindings for the ICU package. https://pypi.python.org/pypi/PyICU/)

  • Ghostscript

    Used by Graphviz reports to help create PDF's

The following packages are optional:

  • gtkspell

Enable spell checking in the notes. Gtkspell depends on enchant. A version of gtkspell with gobject introspection is needed, so minimally version 3.0.0

  • rcs

The GNU Revision Control System (RCS) can be used to manage multiple revisions of your family trees. See info at https://gramps-project.org/wiki/index.php?title=Gramps_5.0_Wiki_Manual_-_Manage_Family_Trees#Archiving_a_Family_Tree Only rcs is needed, NO python bindings are required

  • PIL

Python Image Library (PILLOW) is needed to crop images and also to convert non-JPG images to JPG so as to include them in LaTeX output. (For Python3 a different source may be needed, python-imaging or python-pillow or python3-pillow)

  • GExiv2

Enables Gramps to manage Exif metadata embedded in your media. Gramps needs version 0.5 or greater. See https://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion#GExiv2_for_Image_metadata

  • ttf-freefont

More font support in the reports

Optional packages required by Third-party Addons

Third-party Addons are written by users and developers and unless stated are not officially part of Gramps. For more information about Addons see: https://gramps-project.org/wiki/index.php?title=Third-party_Plugins

Prerequistes required for the following Addons to work:

No longer needed:

  • Since Gramps 4.2: gir-webkit

  • Since Gramps 4.0: pygoocanvas, pygtk, pyexiv2

  • Since Gramps 3.3: python-enchant Enchant

  • Since Gramps 3.2: python glade bindings

  • Since Gramps 3.1: yelp - Gnome help browser. No offline help is shipped see Gramps website for User manual

Documentation

The User Manual is maintained on the Gramps website: