* src/AddSpouse.py: fix gender selection

* src/DbPrompter.py: support other DB formats
* src/GrampsBSDDB.py: BSDDB format, derived from GrampsDbBase
* src/GrampsDbBase.py: base class for database classes
* src/GrampsGEDDB.py: GEDCOM format, derived from GrampsDbBase
* src/GrampsXMLDB.py: XML format, derived from GrampsDbBase
* src/PeopleModel.py: handle rebuilds better
* src/RelLib.py: use try_to_find_person_from_handle
* src/WriteXML.py: use gramps ids instead of handles
* src/const.py.in: handle family relations correctly
* src/gramps_main.py: remove prefix settings
* src/data/gnome-mime-application-x-gramps-xml.png: new icon
* src/data/gramps.applications: support for x-gramps-xml
* src/data/gramps.keys: support for x-gramps-xml
* src/data/gramps.mime: support for x-gramps-xml
* src/data/gramps.schemas: added event format
* src/data/gramps.xml: support for x-gramps-xml
* src/plugins/ReadGedcom.py: start of GEDDB support
* src/plugins/WriteGedcom.py: start of GEDDB support


svn: r3306
This commit is contained in:
Don Allingham
2004-08-01 04:21:31 +00:00
parent b82c4dbe10
commit eda23b8ecc
24 changed files with 1531 additions and 1175 deletions

View File

@@ -9,6 +9,7 @@ dist_pkgdata_DATA = \
gnome-mime-application-x-gramps.png \
gnome-mime-application-x-gedcom.png \
gnome-mime-application-x-gramps-package.png \
gnome-mime-application-x-gramps-xml.png \
gramps.applications \
gramps.desktop \
gramps.svg \

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -4,4 +4,4 @@ gramps
can_open_multiple_files=false
expects_uris=false
requires_terminal=false
mime_types=application/x-gramps,application/x-gedcom,application/x-gramps-package
mime_types=application/x-gramps,application/x-gedcom,application/x-gramps-package,application/x-gramps-xml

View File

@@ -20,6 +20,17 @@ application/x-gramps-package:
icon-filename=/usr/share/gramps/gramps.png
open=gramps %f
application/x-gramps-xml:
description=GRAMPS XML database
default_action_type=application
short_list_application_ids=gramps
short_list_application_ids_for_novice_user_level=gramps
short_list_application_ids_for_intermediate_user_level=gramps
short_list_application_ids_for_advanced_user_level=gramps
category=Documents/Genealogy
icon-filename=/usr/share/gramps/gramps.png
open=gramps %f
application/x-gedcom:
description=GEDCOM
default_action_type=application

View File

@@ -1,6 +1,9 @@
application/x-gramps
ext: grdb
application/x-gramps-xml
ext: gramps
application/x-gramps-package
ext: gpkg

View File

@@ -107,6 +107,19 @@
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/eprefix</key>
<applyto>/apps/gramps/preferences/eprefix</applyto>
<owner>gramps</owner>
<type>string</type>
<default>E%04d</default>
<locale name="C">
<short>Default event GRAMPS ID pattern</short>
<long>The new GRAMPS IDs for the events are generated according
to this format string.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/iprefix</key>
<applyto>/apps/gramps/preferences/iprefix</applyto>

View File

@@ -12,4 +12,8 @@
<comment xml:lang="en">GRAMPS package</comment>
<glob pattern="*.gpkg"/>
</mime-type>
<mime-type type="application/x-gramps-xml">
<comment xml:lang="en">GRAMPS XML database</comment>
<glob pattern="*.gramps"/>
</mime-type>
</mime-info>